週間番組表

Python | 3.13.1 News

brew install python@3.13

sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update sudo apt install python3.13

: Minor optimizations to the JIT (Just-In-Time) compiler's code generation to reduce overhead in specific workloads. The REPL Experience The improved interactive shell (REPL) introduced in 3.13 receives minor usability tweaks in 3.13.1, such as: Better handling of multiline pastes. Improved color support and error messaging within the terminal. Upgrade Recommendation Python 3.13.1 is a python 3.13.1 news

It is not enabled by default. Developers must explicitly use the free-threaded build (e.g., via --disable-gil during compilation). 3. Experimental Just-In-Time (JIT) Compiler Python 3.13 introduces a preliminary Copy-and-Patch JIT .

(None new in bugfix)

Python 3.13.1 marks a stable point in the Python 3.13 series. The Python development team will continue to provide bug fixes and security updates for this version. Meanwhile, work on Python 3.14 and future versions is already underway, promising even more exciting features and improvements.

Adjusted ipaddress.IPv6Address behavior to ensure IPv4-mapped addresses consistently use the mapped value for properties like is_multicast and is_global . brew install python@3

| Area | Improvement | |------|-------------| | | Reduced overhead for try/except blocks (~10-15% faster) | | Attribute access | Optimized object.__getattribute__ for common cases | | Memory allocator | Better fragmentation handling in mimalloc (now default on more platforms) |

Tracebacks and doctests are now highlighted in color by default, making errors easier to scan. Upgrade Recommendation Python 3

The JIT is still opt-in and primarily benefits CPU-bound loops.

みちゅバチの部屋