| Category | Notable Fixes | |----------|----------------| | | Fixed assert statement bytecode generation in certain optimization levels ( -OO with assert side effects) | | Standard library | pathlib.Path.walk() no longer fails on symlink loops; asyncio task cancellation during asyncio.to_thread() no longer leaks threads; typing.get_type_hints() now handles @property correctly | | Security | urllib.parse now properly quotes backslashes in path components (minor CVE backport — not new, but hardened) | | Build system | macOS 15 Sequoia builds now correctly link against system Tcl/Tk frameworks |

3.13.1 fixes a subtle reference-counting race condition in weakref.finalize and a deadlock involving threading.Condition in free-threaded mode. These were hard to reproduce but real — several scientific computing early adopters reported them.

Maintenance updates (bugfixes) will continue until October 2026 .

A preliminary Just-In-Time (JIT) compiler provides the foundation for significant future performance gains.

git clone https://github.com/python/cpython cd cpython git checkout v3.13.1 ./configure --enable-optimizations --enable-experimental-jit # or --disable-gil make -j$(nproc) sudo make altinstall

Этот сайт использует файлы cookie. Продолжая использовать этот сайт, вы соглашаетесь на их использование.
OK