313 Release Notes Verified - Python

: Multiple threads can now run Python code simultaneously across separate CPU cores.

The dbm module now features a dbm.sqlite3 backend, which is used by default for creating new files.

Released on October 7, 2024, Python 3.13 introduces major performance-focused, experimental features including a Free-Threaded (No-GIL) mode and a preliminary JIT compiler. Key updates also include an improved, colorized interactive REPL, enhanced error messages, official mobile support for iOS/Android, and the removal of deprecated modules. For the full release notes, visit the official Python documentation Python documentation AI responses may include mistakes. Learn more What's New In Python 3.13 — Python 3.14.4 documentation python 313 release notes verified

The most impactful updates are currently experimental and require specific builds or flags to enable.

typing.TypeIs is an alternative to TypeGuard that makes type narrowing more intuitive. It provides a more natural way for static type checkers to infer more precise types based on runtime checks. : Multiple threads can now run Python code

>>> def calculate_total(price, tax): ... # The shell now tracks multiline indentations and colors flawlessly! ... return price * (1 + tax) Core UX Breakthroughs: What's New In Python 3.13 — Python 3.14.5 documentation

git clone https://github.com/python/cpython.git cd cpython git checkout v3.13.0 ./configure --disable-gil --enable-experimental-jit make -j$(nproc) sudo make altinstall Key updates also include an improved, colorized interactive

WebAssembly System Interface (WASI) now receives Tier 2 status, indicating the CPython team will ensure WASI builds pass the test suite and provides basic support for platform-specific issues.

: Code prompts, standard outputs, and error tracebacks are highlighted with colors by default for fast visual parsing.

This mode is available as an experimental feature in Windows and macOS installers, enabling developers to test their code's thread safety.

Close
Close