Python 3.12.0 RC1 is out, Ready to Test your projects for 3.12 Compatibilities

Python programming language announced the Python 3.12.0 RC1 release this Sunday! Software developers can now prepare their projects for 3.12 compatibilities.

According to the announcement, there will be no new features and ABI changes from this rc1 to the final release scheduled for 2023-10-02. Though, there will be RC2 to be released on September 4.

New features in Python 3.12 since 3.11 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 the typing module

The release also removed some deprecated items, such as wstr, and wstr_length from Unicode, mtpd and distutils modules, and a number of long deprecated methods and classes in the unittest module.

How to Get Python 3.12.0 RC1

The source code of Python 3.12.0 RC1 is available to download at the link below, under ‘Pre-releases’ section:

For Ubuntu and Linux Mint users, the popular DeadSnakes PPA has built package for Ubuntu 20.04 and Ubuntu 22.04 LTS.

Hi, I'm Ji, the creator of Ubuntuhandbook.org. Now, I'm also writing partly in this web site.