Jython, GILs and object locking.

Jon Franz_antispam jfranzXREMOVEX at neurokode.com
Sat Oct 11 01:07:28 EDT 2003


> What you wrote is flatly wrong: no matter how often you don't use
> extension modules, Python still *can* use multiple CPUs.

I stand corrected. 

> The correct statement is, "Because of the GIL, only one processor can
> run Python bytecode at the same time."  And it's best to add something
> like, "However, many functions, especially I/O functions, are written
> in C, and release the GIL while they work, so that Python can get some
> use out of multiple processors."

With the (massive) correction - do you think it should be mentioned in the 
docs?  I still lean in favor.





More information about the Python-list mailing list