[Tutor] threading in python2.7

Steven D'Aprano steve at pearwood.info
Sat Jan 3 09:00:22 CET 2015

On Fri, Jan 02, 2015 at 12:39:36PM -0800, Joseph Lee wrote:

> Threads introduce interesting issues. For instance, due to Python's global
> interpreter lock (GIL), only one thread can run at a given time.

I'd like to make a technical correction here. The GIL is not a 
*language* requirement, it is an *implementation* requirement. 
Consequently, there are Python implementations without a GIL, namely 
IronPython, Jython and possibly PyPy depending on which garbage 
collection system it is using.


More information about the Tutor mailing list