The --disable-gil build now properly releases the GIL in more I/O operations, improving concurrency for CPU-bound + I/O mixed workloads. A nasty memory leak involving thread-local storage has also been resolved.
If you're interested in upgrading to a newer version of Python (hypothetically to 3.13.1, if it were available), here are general steps:
python3.13 -Wd -m pytest
sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update sudo apt install python3.13 python3.13-venv python3.13-dev
As part of the 3.13 family, version 3.13.1 continues to support transformative features that define this generation of Python: python 3.13.1
: Addressing regressions and stability issues identified during the initial rollout of the 3.13 series.
or
Installing Python 3.13.1 varies across platforms, with modern tools making the process more efficient: On Linux (using Pyenv)
The official installers now include (fixing several tkinter rendering issues on macOS Sequoia) and updated OpenSSL to 3.0.15. The --disable-gil build now properly releases the GIL
: Run the installer script: curl https://pyenv.run/ | bash .