Python 3.12 has just been released

Python 3.12 was released with improvements to and efficiency, as key developers reported at this year's PyCon conference in Salt Lake City, Utah.

python

They also mentioned their efforts to reduce its use s, the fastest interpreter and the of compilation for more efficient code.

With subinterpreters the Python runtime can have multiple interpreters running together within a single process, as opposed to each interpreter running isolated in its own process. Although subinterpreters were available in the Python runtime, they lacked an end-user interface. Also, the clutter of Python's internals has not allowed for efficient use of subinterpreters.

With Python 3.12, Python core developer Eric Snow and the they cleaned up Python enough to make subinterpreters useful for everyone.

Python 3.11 brought new bytecode to the interpreter, called adaptive (adaptive instructions). These commands could be automatically replaced at runtime with versions specialized for a given Python type, a process called quickening.

This saved the interpreter the step of looking up object types, greatly speeding up the whole process. Python 3.12 has even more custom commands…

More technical details

change log

https://docs.python.org/3.12/whatsnew/3.12.html

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.100 registrants.
Python

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).