What’s New In Python 3.13 (docs.python.org)
from captainkangaroo@discuss.tchncs.de to programming@programming.dev on 08 Oct 2024 04:00
https://discuss.tchncs.de/post/23257756

Python 3.13 is the latest stable release of the Python programming language, with a mix of changes to the language, the implementation and the standard library. The biggest changes include a new interactive interpreter, experimental support for running in a free-threaded mode (PEP 703), and a Just-In-Time compiler (PEP 744).

#programming

threaded - newest

thingsiplay@beehaw.org on 08 Oct 2024 05:31 next collapse

global interpreter lock disabled + JIT Compiler = Python becomes self conscious

I’m super curious. This was long in the making and finally people can test it. I still have to read the details, so I’ll spare you with my questions at the moment. I wonder if these will become the default in the future and how it compares against compiled languages. Hopefully it doesn’t take too long for Arch to upgrade.

thingsiplay@beehaw.org on 08 Oct 2024 06:00 collapse

Suggestion: A new file extension .pyt to indicate its threaded code meant for the free-threaded mode enabled (no GIL). The current implementation is that there is a secondary binary python3.13t, because its not compatible with regular Python interpreter.

CodiUnicorn@programming.dev on 09 Oct 2024 07:11 collapse

Curious what actually changed for iOS and Android?. Those PEPs don’t say it directly ;)