GIL state during import

Terry Reedy tjreedy at udel.edu
Tue Feb 16 18:01:08 EST 2010


On 2/16/2010 4:37 PM, Doron Tal wrote:
> Is the GIL released during import statement execution when accessing the
> file?
> If not, is it a bug?
> If it is not a bug, or it is here to stay for any other reason, I think
> it should be mentioned in the documentation.

The CPython GIL is a CPython implementation artifact and should not be 
mentioned in the language docs (and is not, as far as I know). Were you 
thinking of something else? And why this specific feature of its 
behavior, whatever it is.

tjr






More information about the Python-list mailing list