Python 313 Release Notes Verified __link__
– The typing.override decorator now raises errors if the method does not actually override a parent method.
The interactive interpreter (REPL) received its first major overhaul in years, incorporating features inspired by PyPy : python 313 release notes verified
: A preliminary Just-In-Time compiler has been added, laying the groundwork for substantial performance improvements in future versions. Enhanced Interactive Interpreter (REPL) : The default interactive shell now features: Multi-line editing with history preservation. Colorized output for prompts and exception tracebacks. New "Paste Mode" (F3) for easier insertion of large code blocks. Direct support for commands like without needing to call them as functions. Improved Error Messages – The typing
Tier 2 optimizer improvements → 5–15% faster for some pure-Python loops. Colorized output for prompts and exception tracebacks
Will continue to receive security-only updates until October 2029 .