I’m pleased to announce the release of Python 3.12.4:
https://www.python.org/downloads/release/python-3124/
Python 3.12 is the newest major release of the Python programming
language, and it contains many new features and optimizations. 3.12.4 is
the latest maintenance release, containing more than 250 bugfixes,
build improvements and documentation changes since 3.12.3.
New features
Type annotations
Deprecations
- The deprecated
wstr
andwstr_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
anddistutils
modules have been removed (see PEP 594 and PEP 632. Thesetuptools
package continues to provide thedistutils
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 ofDeprecationWarning
, 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.
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
Łukasz Langa
Ned Deily
Steve Dower