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

R. David Murray report at bugs.python.org
Sat Jan 17 19:35:58 CET 2015

R. David Murray added the comment:

Yes, on consideration I agree with Antoine.  That last sentence should be deleted.  Otherwise we'd need to mention that the gil was released every place that the gil was released, which would be very redundant.  The general rule is that anything that blocks in python releases the GIL, therefore as Antoine says the only time we need to document GIL behavior is when that *doesn't* happen.


Python tracker <report at bugs.python.org>

More information about the docs mailing list