After almost 1 year of development, the popular computer programming language Python 3.12.0 finally goes stable!
New features in Python 3.12.0 include:
- Per-Interpreter Global Interpreter Locks, allows to take full advantage of multiple CPU cores.
- More flexible f-string parsing.
- Buffer protocol support, which is currently accessible only to C code
- New API for low impact monitoring for CPython
- Support for the Linux perf profiler to report Python function names in traces.
- Using TypedDict for more precise **kwargs typing
- New decorator
typing.override()
in thetyping
module
In the release, there are also some old deprecated modules have been removed. They include wstr
and wstr_length
members of the C implementation of unicode objects, long deprecated methods and classes in unittest
module, and smtpd
and distutils
modules.
For more about Python 3.12.0, see the full changelog.
How to Get Python 3.12.0
The source code of Python 3.12.0 is available to download at the link below:
For Ubuntu and Linux Mint users, the popular DeadSnakes PPA has built package for Ubuntu 20.04 and Ubuntu 22.04 LTS.
Leave a Reply