News: 0001583109

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Python 3.14 Released With Performance Improvements, Free-Threading & Zstd

([Programming] 5 Hours Ago Python 3.14)


Python 3.14 is now available as the newest annual major feature release for the Python programming language.

Python 3.14 delivers on official support for the free-threaded Python code path, a new Zstd compression module, various performance improvements, a zero-overhead external debugger for Python, C API improvements, enhanced error messages a new opt-in interpreter, and many other enhancements.

- PEP 779: Free-threaded Python is officially supported

- PEP 649: The evaluation of annotations is now deferred, improving the semantics of using annotations.

- PEP 750: Template string literals (t-strings) for custom string processing, using the familiar syntax of f-strings.

- PEP 734: Multiple interpreters in the stdlib.

- PEP 784: A new module compression.zstd providing support for the Zstandard compression algorithm.

- PEP 758: except and except* expressions may now omit the brackets.

- Syntax highlighting in PyREPL, and support for color in unittest, argparse, json and calendar CLIs.

- PEP 768: A zero-overhead external debugger interface for CPython.

- UUID versions 6-8 are now supported by the uuid module, and generation of versions 3-5 are up to 40% faster.

- PEP 765: Disallow return/break/continue that exit a finally block.

- PEP 741: An improved C API for configuring Python.

- A new type of interpreter. For certain newer compilers, this interpreter provides significantly better performance. Opt-in for now, requires building from source.

- Improved error messages.

- Builtin implementation of HMAC with formally verified code from the HACL* project.

- A new command-line interface to inspect running Python processes using asynchronous tasks.

- The pdb module now supports remote attaching to a running Python process.

Downloads and more details on the major Python 3.14 feature release via [1]Python.org .



[1] https://www.python.org/downloads/release/python-3140/



My first baseman is George "Catfish" Metkovich from our 1952 Pittsburgh
Pirates team, which lost 112 games. After a terrible series against the
New York Giants, in which our center fielder made three throwing errors
and let two balls get through his legs, manager Billy Meyer pleaded, "Can
somebody think of something to help us win a game?"
"I'd like to make a suggestion," Metkovich said. "On any ball hit
to center field, let's just let it roll to see if it might go foul."
-- Joe Garagiola, "It's Anybody's Ball Game"