Message234185
> 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. |
|
Date |
User |
Action |
Args |
2015-01-17 18:03:47 | pitrou | set | recipients:
+ pitrou, r.david.murray, asvetlov, docs@python, akira, martin.panter |
2015-01-17 18:03:47 | pitrou | set | messageid: <1421517827.11.0.420423604116.issue23251@psf.upfronthosting.co.za> |
2015-01-17 18:03:47 | pitrou | link | issue23251 messages |
2015-01-17 18:03:47 | pitrou | create | |
|