Message234185
| Author |
pitrou |
| Recipients |
akira, asvetlov, docs@python, martin.panter, pitrou, r.david.murray |
| Date |
2015年01月17日.18:03:47 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1421517827.11.0.420423604116.issue23251@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> 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. |
|