Python 3.13, what didn't make the headlines (www.bitecode.dev)
from norambna@programming.dev to python@programming.dev on 25 Oct 2024 16:43
https://programming.dev/post/20967248

via framapiaf.org/@bitecode/113368174297795284

#python

threaded - newest

solrize@lemmy.world on 25 Oct 2024 17:10 next collapse

Explain?

gigachad@sh.itjust.works on 25 Oct 2024 17:14 collapse

Wdym? It’s a text about the lesser known features and changes in Python 3.13.

solrize@lemmy.world on 25 Oct 2024 17:16 collapse

There’s some confusing code there. What does it do?

sugar_in_your_tea@sh.itjust.works on 25 Oct 2024 22:20 collapse

You mean the code under “The annotation change nobody asked for”? That’s not intended to do anything, it’s supposed to just be valid Python code as an annotation. Basically, they’re trying to break the type hinting system.

GBU_28@lemm.ee on 26 Oct 2024 01:18 collapse

I see like 20 lines of code and an image. Is there more?

sugar_in_your_tea@sh.itjust.works on 26 Oct 2024 05:12 collapse

I don’t think so. I see two code snippets, and each has a clear explanation preceding it.

vahtos@programming.dev on 25 Oct 2024 18:03 next collapse

What a refreshingly information dense blog without the typical annoying web page behaviors (consent pop-ups, join our mailing list, etc). Thanks for sharing.

xigoi@lemmy.sdf.org on 25 Oct 2024 22:10 next collapse

It did ask for my e-mail.

Midnitte@beehaw.org on 25 Oct 2024 23:42 collapse

I guess they need some tips to up their game

rutrum@lm.paradisus.day on 26 Oct 2024 10:21 collapse

Thats a wonderful article. Thank you for sharing

tunetardis@lemmy.ca on 25 Oct 2024 19:47 collapse

I’ve been playing around with the disabled GIL build and though I use threads fairly extensively in my projects, it’s been smooth sailing so far. I feel like my GUI scripts might be a bit more responsive now? (I tend to farm out user events to dedicated threads, so this is entirely possible.)

But overall, everything is stable and awesome! I’m so excited! This has been a long time coming for Python.