Antoine Pitrou added the comment:

> If GIL is not released then all Python code in other threads is 
> effectively blocked.

But that would be a stupid implementation of sleep(). It is not desirable to 
clutter the docs with such mentions: most calls to the OS in the stdlib release 
the GIL.

Only if the behaviour was unintuitive (i.e. if it *didn't* release the GIL) 
would it make sense to document it.


Python tracker <>
Python-bugs-list mailing list

Reply via email to