Python 3.13 Programming Language Released

Significant Release of Python 3.13 Unveiled After a Year of Development

After a year of development, Python has published a significant release of the programming language Python 3.13. The new branch will be maintained for a year and a half, followed by another three and a half years with the elimination of vulnerabilities.

Among the innovations added in Python 3.13, some notable features include:

  • Added experimental implementation jit compile, which enables a significant increase in performance. This feature requires the assembly option “–enable-experimental-jit” in CPYTHON along with LLVM installation. The process of broadcasting machine code in JIT is built using the architecture copy-and-patch, wherein LLVM is assembled by an ELF object file containing bytecode instructions and necessary data replacement information. JIT replaces bytecode instructions generated during program interpretation with their machine code representations, concurrently providing necessary data for calculations.
  • Introduced an experimental CPYTHON assembly mode without global blocking (GIL), enabled by the option “–without-gil”, to address issues with parallelizing operations on multi-core systems. Disabling GIL incurs additional overheads due to changes in garbage collection, memory management, and lock organization primitives. While single-flow scenarios may experience a performance decrease of approximately 10% due to reference usage for isolating flows, similar overhead costs can be offset through operation parallelization.
  • Proposed a new and improved interactive interpreter based on Pypy project advancements, offering features such as multi-line editing, history preservation and viewing, colored request and traceback design, and the use of Repl-like commands (Help, Exit, QUIT, etc.) without function involvement, interactive
/Reports, release notes, official announcements.