Python 3.12 has just been released

new, clean version

Python 3.12 has been released with speed and efficiency improvements, key developers announced at this year's PyCon conference in Salt Lake City, Utah.


They also mentioned their efforts to reduce memory usage, faster interpreter and optimize 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 his team cleaned up Python enough to make subinterpreters useful for everyone.

Python 3.11 brought new bytecode to the interpreter, called 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 The Best Technology Site in Greece
Follow us on Google News


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.).