Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
Python 3.12.6Release Date: Sept. 6, 2024
This is the sixth maintenance release of Python 3.12Python 3.12 is the newest major release of the Python programming language, and it contains many new features and optimizations. 3.12.6 is the latest maintenance release, containing about 90 bugfixes, build improvements and documentation changes since 3.12.5. This is an expedited release to address the following security issues:
"
-quoted cookie values with backslashes by http.cookies
. Fixes CVE-2024-7592.hdrcharset
, PAX, and GNU sparse headers. That’s CVE-2024-6232.email.utils.getaddresses()
and email.utils.parseaddr()
now return ('', '')
2-tuples in more situations where invalid email addresses are encountered instead of potentially inaccurate values. Add optional strict parameter to these two functions: use strict=False
to get the old behavior, accept malformed inputs. getattr(email.utils, 'supports_strict_parsing', False)
can be use to check if the strict paramater is available. This improves the CVE-2023-27043 fix.zipfile.Path
to avoid infinite loops (gh-122905) without breaking contents using legitimate characters. That’s CVE-2024-8088.Also, as mentioned in the previous release of 3.12, this release drops support for macOS versions 10.9 through 10.12. Versions of macOS older than 10.13 haven't been supported by Apple since 2019, and maintaining support for them has become too difficult. (All versions of Python 3.13 have already dropped support for them.)
Major new features of the 3.12 series, compared to 3.11 New featuresperf
profiler to report Python function names in traces.wstr
and wstr_length
members of the C implementation of unicode objects were removed, per PEP 623.unittest
module, a number of long deprecated methods and classes were removed. (They had been deprecated since Python 3.1 or 3.2).smtpd
and distutils
modules have been removed (see PEP 594 and PEP 632. The setuptools
package continues to provide the distutils
module.SyntaxWarning
instead of DeprecationWarning
, making them more visible. (They will become syntax errors in the future.)For more details on the changes to Python 3.12, see What's new in Python 3.12.
More resourcesRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.5