Jan. 17, 2015
6:03 p.m.
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 <report@bugs.python.org> <http://bugs.python.org/issue23251> _______________________________________