bpo-21302: Add nanosleep() implementation for time.sleep() in Unix#28545
bpo-21302: Add nanosleep() implementation for time.sleep() in Unix#28545vstinner merged 8 commits intopython:mainfrom vstinner:nanosleep
Conversation
|
The PR #28526 LGTM, but I propose to write the @Livius90: Is it better? What do you think? |
|
I can not say that the new Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS |
Replace outdated select() to use nanosleep() for sleep implementation in Unix
Ok, I moved err closer to the function call. |
|
I think, It is much better, thanks. |
|
Thanks @Livius90! I merged the PR based on your PR :-) I also updated the documentation. |
https://bugs.python.org/issue21302