The Python Papers

The Python Papers

Share this post

The Python Papers
The Python Papers
Python 3.13 Allows Disabling of the GIL + subinterpreters
Copy link
Facebook
Email
Notes
More

Python 3.13 Allows Disabling of the GIL + subinterpreters

Mike Driscoll's avatar
Mike Driscoll
Mar 18, 2024
∙ Paid
3

Share this post

The Python Papers
The Python Papers
Python 3.13 Allows Disabling of the GIL + subinterpreters
Copy link
Facebook
Email
Notes
More
Share

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.

Already a paid subscriber? Sign in
© 2025 Mike Driscoll
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More