Python News Today Release 3.13 November 2025 May 2026

conda create -n py313 python=3.13 conda activate py313

urllib.parse no longer silently accepts non-ASCII bytes; you must encode to UTF-8 explicitly. 7. The "No-GIL" Experiment: Still Cooking Python 3.13 ships with a compile-time flag --disable-gil that produces a GIL-free interpreter (a.k.a. "free-threaded Python"). This remains experimental and not recommended for production. python news today release 3.13 november 2025

The Steering Council chose sub-interpreters over a GIL-less build (still available as --disable-gil for the brave) because sub-interpreters maintain full C-extension compatibility – a critical requirement for the scientific and data science ecosystems (NumPy, Pandas, TensorFlow all work unchanged). Takeaway: For CPU-bound workloads, rewrite your multiprocessing code to use interpreters.Pool . For I/O-bound tasks, asyncio remains king. 2. JIT Compilation Graduates from Experimental (PEP 744) PEP 744 , the Copy-and-Patch JIT compiler introduced as an experiment in Python 3.13 beta, is now enabled by default on x86-64 and ARM64 builds. conda create -n py313 python=3

def is_str_list(obj: list[object]) -> TypeIs[list[str]]: return all(isinstance(item, str) for item in obj) data: list[object] = ["a", "b", 3] if is_str_list(data): # In this block, mypy knows data is list[str] reveal_type(data) # list[str] Building on Python 3.11’s improved tracebacks, 3.13 introduces an interactive exception explanation system. "free-threaded Python")

The JIT works by compiling simple Python bytecode sequences into native machine code at runtime, specializing for common operations (e.g., integer addition, attribute lookups, calls to built-in functions).

This feature uses a small on-device LLM (Mistral-7B distilled) that ships with Python 3.13 – optional, install via python -m ensure_explain . In response to global supply chain security mandates (including upcoming US Executive Order 14110 compliance), Python 3.13 now includes a native Software Bill of Materials (SBOM) generator.

Используя этот сайт, вы соглашаетесь с тем, что мы используем файлы cookie.