-
-
Notifications
You must be signed in to change notification settings - Fork 31k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-21302: Add nanosleep() implementation for time.sleep() in Unix #28545
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