Репост из: Chapi Dev Talks
Python 3.14 is here with some exciting updates for developers!
The biggest news for most of you is the improved performance for multi-threaded apps thanks to official support for free-threaded Python.
Plus, a new concurrent.interpreters module opens the door for true multi-core parallelism within a single process, offering a new way to write concurrent code that bypasses the GIL for better efficiency.
You'll also find smarter error messages to help you debug faster. Keep an eye out for these changes making your coding life a bit easier!
Test the JIT build of CPython by adding export PYTHON_JIT=1 as new environment variable.
https://docs.python.org/3.14/whatsnew/3.14.html
The biggest news for most of you is the improved performance for multi-threaded apps thanks to official support for free-threaded Python.
Plus, a new concurrent.interpreters module opens the door for true multi-core parallelism within a single process, offering a new way to write concurrent code that bypasses the GIL for better efficiency.
You'll also find smarter error messages to help you debug faster. Keep an eye out for these changes making your coding life a bit easier!
Test the JIT build of CPython by adding export PYTHON_JIT=1 as new environment variable.
https://docs.python.org/3.14/whatsnew/3.14.html