Back

Python Software Foundation
Patches for Python 3.13 x64
Windows
3 patches available
Python is commonly used for developing websites and software, task automation, data analysis, and data visualization.
Python 3.13 x64 Version 3.13.2150.0
Release Date
2/4/2025
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes

Python 3.13.2 final$$$Release date: 2025-02-04$$$$$$macOS$$$gh-127592: Usage of the unified Apple System Log APIs was disabled when the minimum macOS version is earlier than 10.12.$$$$$$Windows$$$gh-127353: Allow to force color output on Windows using environment variables. Patch by Andrey Efremov.$$$$$$Tools/Demos$$$gh-129248: The iOS test runner now strips the log prefix from each line output by the test suite.$$$$$$gh-128152: Fix a bug where Argument Clinic’s C pre-processor parser tried to parse pre-processor directives inside C comments. Patch by Erlend Aasland.$$$$$$Tests$$$gh-127906: Test the limited C API in test_cppext. Patch by Victor Stinner.$$$$$$gh-127637: Add tests for the dis command-line interface. Patch by Bénédikt Tran.$$$$$$gh-126925: iOS test results are now streamed during test execution; and the deprecated xcresulttool is no longer used.$$$$$$Security$$$gh-105704: When using urllib.parse.urlsplit() and urllib.parse.urlparse() host parsing would not reject domain names containing square brackets ([ and ]). Square brackets are only valid for IPv6 and IPvFuture hosts according to RFC 3986 Section 3.2.2.$$$$$$gh-127655: Fixed the asyncio.selector_events._SelectorSocketTransport transport not pausing writes for the protocol when the buffer reaches the high water mark when using asyncio.WriteTransport.writelines().$$$$$$gh-126108: Fix a possible NULL pointer dereference in PySys_AddWarnOptionUnicode().$$$$$$gh-80222: Fix bug in the folding of quoted strings when flattening an email message using a modern email policy. Previously when a quoted string was folded so that it spanned more than one line; the surrounding quotes and internal escapes would be omitted. This could theoretically be used to spoof header lines using a carefully constructed quoted string if the resulting rendered email was transmitted or re-parsed.$$$$$$gh-119511: Fix a potential denial of service in the imaplib module. When connecting to a malicious server; it could cause an arbitrary amount of memory to be allocated. On many systems this is harmless as unused virtual memory is only a mapping; but if this hit a virtual address size limit it could lead to a MemoryError or other process crash. On unusual systems or builds where all allocated memory is touched and backed by actual ram or storage it could’ve consumed resources doing so until similarly crashing.
Python 3.13 x64 Version 3.13.1150.0
Release Date
12/3/2024
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes

Python 3.13.1 final$$$Release date: 2024-12-03$$$$$$macOS$$$gh-124448: Update bundled Tcl/Tk in macOS installer to 8.6.15.$$$$$$Windows$$$gh-126911: Update credits command output.$$$$$$gh-118973: Ensures the experimental free-threaded install includes the _tkinter module. The optional Tcl/Tk component must also be installed in order for the module to work.$$$$$$gh-126497: Fixes venv failure due to missing redirector executables in experimental free-threaded installs.$$$$$$gh-126074: Removed unnecessary DLLs from Windows embeddable package$$$$$$gh-125315: Avoid crashing in platform due to slow WMI calls on some Windows machines.$$$$$$gh-126084: Fix venvwlauncher to launch pythonw instead of python so no extra console window is created.$$$$$$gh-125842: Fix a SystemError when sys.exit() is called with 0xffffffff on Windows.$$$$$$gh-125550: Enable the Python Launcher for Windows to detect Python 3.14 installs from the Windows Store.$$$$$$gh-124448: Updated bundled Tcl/Tk to 8.6.15.$$$$$$Tools/Demos$$$gh-126807: Fix extraction warnings in pygettext.py caused by mistaking function definitions for function calls.$$$$$$gh-126167: The iOS testbed was modified so that it can be used by third-party projects for testing purposes.$$$$$$Tests$$$gh-126909: Fix test_os extended attribute tests to work on filesystems with 1 KiB xattr size limit.$$$$$$gh-125041: Re-enable skipped tests for zlib on the s390x architecture: only skip checks of the compressed bytes; which can be different between zlib’s software implementation and the hardware-accelerated implementation.$$$$$$gh-124295: Add translation tests to the argparse module.$$$$$$Security$$$gh-126623: Upgrade libexpat to 2.6.4$$$$$$gh-125140: Remove the current directory from sys.path when using PyREPL.$$$$$$gh-122792: Changed IPv4-mapped ipaddress.IPv6Address to consistently use the mapped IPv4 address value for deciding properties. Properties which have their behavior fixed are is_multicast; is_reserved; is_link_local; is_global; and is_unspecified.$$$$$$Library$$$gh-127321: pdb.set_trace() will not stop at an opcode that does not have an associated line number anymore.$$$$$$gh-127303: Publicly expose EXACT_TOKEN_TYPES in token.__all__.$$$$$$gh-123967: Fix faulthandler for trampoline frames. If the top-most frame is a trampoline frame; skip it. Patch by Victor Stinner.$$$$$$gh-127182: Fix io.StringIO.__setstate__() crash; when None was passed as the first value.$$$$$$gh-127217: Fix urllib.request.pathname2url() for paths starting with multiple slashes on Posix.$$$$$$gh-127035: Fix shutil.which on Windows. Now it looks at direct match if and only if the command ends with a PATHEXT extension or X_OK is not in mode. Support extensionless files if “.” is in PATHEXT. Support PATHEXT extensions that end with a dot.$$$$$$gh-122273: Support PyREPL history on Windows. Patch by devdanzin and Victor Stinner.
Python 3.13 x64 Version 3.13.150.0
Release Date
10/7/2024
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes

Python 3.13.0$$$Release Date: Oct. 7; 2024$$$$$$This is the stable release of Python 3.13.0$$$Python 3.13.0 is the newest major release of the Python programming language; and it contains many new features and optimizations compared to Python 3.12. (Compared to the last release candidate; 3.13.0rc3; 3.13.0 contains two small bug fixes and some documentation and testing changes.)$$$$$$Major new features of the 3.13 series; compared to 3.12$$$Some of the new major new features and changes in Python 3.13 are:$$$$$$New features$$$A new and improved interactive interpreter; based on PyPys; featuring multi-line editing and color support; as well as colorized exception tracebacks.$$$An experimental free-threaded build mode; which disables the Global Interpreter Lock; allowing threads to run more concurrently. The build mode is available as an experimental feature in the Windows and macOS installers as well.$$$A preliminary; experimental JIT; providing the ground work for significant performance improvements.$$$The locals() builtin function (and its C equivalent) now has well-defined semantics when mutating the returned mapping; which allows debuggers to operate more consistently.$$$A modified version of mimalloc is now included; optional but enabled by default if supported by the platform; and required for the free-threaded build mode.$$$Docstrings now have their leading indentation stripped; reducing memory use and the size of .pyc files. (Most tools handling docstrings already strip leading indentation.)$$$The dbm module has a new dbm.sqlite3 backend that is used by default when creating new files.$$$The minimum supported macOS version was changed from 10.9 to 10.13 (High Sierra). Older macOS versions will not be supported going forward.$$$WASI is now a Tier 2 supported platform. Emscripten is no longer an officially supported platform (but Pyodide continues to support Emscripten).$$$iOS is now a Tier 3 supported platform.$$$Android is now a Tier 3 supported platform.$$$Typing$$$Support for type defaults in type parameters.$$$A new type narrowing annotation; typing.TypeIs.$$$A new annotation for read-only items in TypeDicts.$$$A new annotation for marking deprecations in the type system.$$$Removals and new deprecations$$$PEP 594 (Removing dead batteries from the standard library) scheduled removals of many deprecated modules: aifc; audioop; chunk; cgi; cgitb; crypt; imghdr; mailcap; msilib; nis; nntplib; ossaudiodev; pipes; sndhdr; spwd; sunau; telnetlib; uu; xdrlib; lib2to3.$$$Many other removals of deprecated classes; functions and methods in various standard library modules.$$$C API removals and deprecations. (Some removals present in alpha 1 were reverted in alpha 2; as the removals were deemed too disruptive at this time.)$$$New deprecations; most of which are scheduled for removal from Python 3.15 or 3.16.$$$For more details on the changes to Python 3.13; see Whats new in Python 3.13.$$$$$$More resources$$$Online Documentation$$$PEP 719; 3.13 Release Schedule$$$Report bugs at https://github.com/python/cpython/issues.$$$Help fund Python directly (or via GitHub Sponsors); and support the Python community.$$$Full Changelog
Interested in automating patching for Python 3.13 x64?