[docs] [issue23251] mention in time.sleep() docs that it does not block other Python threads
Antoine Pitrou
report at bugs.python.org
Sat Jan 17 19:03:47 CET 2015
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 at bugs.python.org>
<http://bugs.python.org/issue23251>
_______________________________________
More information about the docs
mailing list