Python 3.13 Allows Disabling of the GIL + subinterpreters
Python 3.13 adds the ability to remove the Global Interpreter Lock (GIL) per PEP 703. Just this past week, a PR was merged that allows the disabling of the GIL using a command-line flag or an environment variable in free-threaded builds. Note that Python must be built using the Py_GIL_DISABLED
flag for this to work.
What is the GIL?
The Global Interpreter…
Keep reading with a 7-day free trial
Subscribe to The Python Papers to keep reading this post and get 7 days of free access to the full post archives.