Tag

Python3.13

1 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Oct 18, 2024 · Fundamentals

New Typing Features in Python 3.13: ReadOnly, @warnings.deprecated, TypeIs, is_protocol, get_protocol_members, Default Types, NoDefault and Performance Improvements

Python 3.13 introduces several typing enhancements—including a ReadOnly type for TypedDict, a @warnings.deprecated decorator, the TypeIs narrowing helper, is_protocol and get_protocol_members utilities, default type support for TypeVar/ParamSpec/TypeVarTuple, the NoDefault sentinel, and notable performance gains by removing legacy typing namespaces.

PythonPython3.13ReadOnly
0 likes · 8 min read
New Typing Features in Python 3.13: ReadOnly, @warnings.deprecated, TypeIs, is_protocol, get_protocol_members, Default Types, NoDefault and Performance Improvements
Python Programming Learning Circle
Python Programming Learning Circle
Jul 2, 2024 · Fundamentals

Understanding Python 3.13 Copy‑and‑Patch JIT Compiler

The article explains how Python 3.13 introduces a copy‑and‑patch Just‑In‑Time (JIT) compiler that compiles bytecode to machine code on first execution, reuses it to boost performance, and leverages LLVM tools for efficient runtime code generation.

Copy-and-PatchJITLLVM
0 likes · 4 min read
Understanding Python 3.13 Copy‑and‑Patch JIT Compiler