[docs] [issue23251] mention in time.sleep() docs that it does not block other Python threads

Akira Li report at bugs.python.org
Sat Jan 17 19:01:25 CET 2015


Akira Li added the comment:

> I think it's superfluous to mention the GIL here, since it has no impact on the function.

If GIL is not released then all Python code in other threads is 
effectively blocked.
It is worth mentioning explicitly that it is guaranteed to be released
during the sleep.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23251>
_______________________________________


More information about the docs mailing list