Article 67P2V PEP 703: Making the Python global interpreter lock optional

PEP 703: Making the Python global interpreter lock optional

by
corbet
from LWN.net on (#67P2V)
In late 2021, LWN covered a plan toeliminate the Python global interpreter lock (GIL), thus improving thelanguage's thread-level concurrency. This plan has now been codified as PEP 703, which includesan extensive discussion of the changes that would be made.

The global interpreter lock will remain the default for CPythonbuilds and python.org downloads. A new build configuration flag,--without-gil will be added to the configure script thatwill build CPython without the global interpreter lock.

The posting of a PEP is only one step in a long path toward integratingthis change into the CPython interpreter; expect some extended discussionsover the coming months.

External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments