Python 313 Release Notes Verified _verified_ -

Python 3.13 introduces several exciting new features that enhance the language's functionality and usability. Some of the notable additions include:

The default interactive shell has been completely overhauled, based on code from the PyPy project. It now offers features previously only available in third-party tools: python 313 release notes verified

: You can now type exit , quit , or clear directly without calling them as functions (e.g., exit() is no longer required). 3. Language & Standard Library Updates Python 3

These improvements are built on top of the new pyrepl (Python REPL) module, which replaces the old C-based readline implementation. You can disable the new REPL by setting the environment variable PYTHON_BASIC_REPL=1 . python 313 release notes verified

⚠️ Free-threaded mode: --disable-gil currently increases single-threaded overhead by ~5–10%.