Text of discuss.python.org › t › python-3-12-0-final-is-here › 35186 as Styx crawled it on Nov 18, 2026. The page may have changed since. Only its words are kept, without pictures or layout, and only the first part of a long page.

Open the live page

Python 3.12.0 (final) is here - Core Development - Discussions on Python.org

Python 3.12.0 (final) is here Core Development release thomas (Thomas Wouters) October 2, 2023, 3:34pm 1 Finally, it’s final! The final release of Python 3.12.0 (final) is here! (This also means I’ll be unblocking the 3.12 branch soon; I’m just going through pending PRs and merging them sequentially, to avoid some of the churn.) This is the stable release of Python 3.12.0 Python 3.12.0 is the newest major release of the Python programming language, and it contains many new features and optimizations.

Major new features of the 3.12 series, compared to 3.11 New features More flexible f-string parsing , allowing many things previously disallowed ( PEP 701 ). Support for the buffer protocol in Python code ( PEP 688 ). A new debugging/profiling API ( PEP 669 ). Support for isolated subinterpreters with separate Global Interpreter Locks ( PEP 684 ). Even more improved error messages . More exceptions potentially caused by typos now make suggestions to the user.

Support for the Linux perf profiler to report Python function names in traces. Many large and small performance improvements (like PEP 709 and support for the BOLT binary optimizer), delivering an estimated 5% overall performance improvement. Type annotations New type annotation syntax for generic classes ( PEP 695 ). New override decorator for methods ( PEP 698 ). Deprecations The deprecated wstr and wstr_length members of the C implementation of unicode objects were removed, per PEP 623 .

In the unittest module, a number of long deprecated methods and classes were removed. (They had been deprecated since Python 3.1 or 3.2). The deprecated smtpd and distutils modules have been removed (see PEP 594 and PEP 632 . The setuptools package continues to provide the distutils module. A number of other old, broken and deprecated functions, classes and methods have been removed. Invalid backslash escape sequences in strings now warn with SyntaxWarning instead of DeprecationWarning , making them more visible. (They will become syntax errors in the future.) The internal representation of integers has changed in preparation for performance enhancements. (This should not affect most users as it is an internal detail, but it may cause problems for Cython-generated code.) For more details on the changes to Python 3.12, see What’s new in Python 3.12 .

More resources Online Documentation . PEP 693 , the Python 3.12 Release Schedule. Report bugs via GitHub Issues . Help fund Python and its community . And now for something completely different They have no need of our help So do not tell me These haggard faces could belong to you or me Should life have dealt a different hand We need to see them for who they really are Chancers and scroungers Layabouts and loungers With bombs up their sleeves Cut-throats and thieves They are not Welcome here We should make them Go back to where they came from They cannot Share our food Share our homes Share our countries Instead let us Build a wall to keep them out It is not okay to say These are people just like us A place should only belong to those who are born there Do not be so stupid to think that The world can be looked at another way (now read from bottom to top) Refugees , by Brian Bilston .

We hope you enjoy the new releases! Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation . Your release team, Thomas Wouters @thomas Ned Deily @nad Steve Dower @steve.dower Łukasz Langa @ambv 55 Likes Launch-day availability of Python 3.12 in conda-forge jamestwebber (James Webber) October 2, 2023, 4:39pm 2 A very small nit: I wish these announcements would say “newest feature release”, rather than major.

To counterbalance my nit, I’ll celebrate that my very first [1] PR to CPython is in this release. and very small ↩︎ 9 Likes pf_moore (Paul Moore) October 2, 2023, 6:00pm 3 Discourse managed (at least on my browser) to add a scroll bar, so that the whole of this poem was visible apart from the critical “(now read from bottom to top)” line It’s only because I followed the link to the original that I spotted it! thomas (Thomas Wouters) October 2, 2023, 7:15pm 4 Thanks for pointing that out!

I’ve changed it to a block quote, which should render the whole thing (I believe)… 6 Likes stoneleaf (Ethan Furman) October 2, 2023, 7:54pm 5 Yup, the whole thing shows up now. h-vetinari (H. Vetinari) October 3, 2023, 11:27am 6 Congratulations on the new release! I wanted to quickly comment here that conda-forge has – for the first time – managed to have launch-day availability of the new Python version and >1000 packages.

In the end I decided this fits better as a separate post, but to avoid that it gets “hidden” only in the packaging category, I hope people don’t mind that I reference it from here as well. 11 Likes pf_moore (Paul Moore) October 3, 2023, 12:30pm 7 I’ll also note here that many packages also seem to already have binaries on PyPI - numpy , scipy , matplotlib , pywin32 , pillow , pandas , … Thanks to everyone who puts so much effort into making the lives of early adopters like me so pleasant!

Edit: I just did a quick check, and there are 912 projects with Python 3.12 wheels already. There’s also 669 projects with abi3 wheels, which will work on Python 3.12 as well. In total, there’s 298,057 projects already available on PyPI with Python 3.12 compatible wheels (obviously that latter number is mostly pure Python projects, though). 7 Likes oscarbenjamin (Oscar Benjamin) October 3, 2023, 7:54pm 8 Thanks everyone for the work on this release!

I just took a look at the python.org download page: Download Python | Python.org The information there is currently a bit confusing. There is big yellow text saying Download the latest release of Python and a big yellow button with Download Python 3.12.0. Right below that it says Want to help test development versions of Python 3.12? Prereleases , Docker images Below that is the list of “active python releases”. It shows Python 3.12 like 3.12 prerelease 2023-10-02 (planned) 2028-10 PEP 693 So the button at the top points towards installing Python 3.12 but the other information on the page all seems to indicate that 3.12 is in prerelease status which seems inconsistent.

Separately I wonder whether it is a good idea that the big yellow button recommends Python 3.12 on day one of release given that some packages will not be installable yet on 3.12. This page is first hit in a web search for “download python” but for now I would consider that 3.12 is still for early adopters rather than the version that I would recommend for any potential new Python users. 3 Likes steve.dower (Steve Dower) October 3, 2023, 7:59pm 9 We try and emphasize that RC is the time for early adopters, including anyone who maintains a package that ought to be available on day 1.

Switching over the default as soon as it releases is consistent with that. Otherwise, once we start on the slope of “3.12.(n+1) is the new 3.12.n”, we won’t ever have a stable release 4 Likes brettcannon (Brett Cannon) October 4, 2023, 9:37pm 10 WASI build at Release CPython 3.12.0 w/ WASI SDK 20 · brettcannon/cpython-wasi-build · GitHub . 2 Likes mwichmann (Mats Wichmann) October 4, 2023, 10:57pm 11 There’s no perfect answer here.

Yes, at the point X.Y is actually released, it’s correct to say the team believes that to be the best, most performant release. At the same time, it’s also true that at that moment, the entire ecosystem will not have caught up. It’s unreasonable to expect that to happen (though this release seems to have had a lot more important packages be ready by release date than in previous cycles, which is superb progress, by the way).

So, not sure what one should say - maybe some footnote on a .0 release that third-party packages may not be ava

The rest of this page is on the live site.