-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Add EINTR to uerrno module? #3327
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
Comments
There're ~200 errors common on Unix platforms. Please read https://github.com/micropython/micropython/wiki/ContributorGuidelines and feel free to provide arguments why EINTR is unavoidable useful (especially that in upstream Python 3.6 users would never see it). |
Since pretty much all system calls can be interrupted by a signal which results in this error, it seems more common than the others. Since I can use errno micropython-lib, this isn't a blocker for me, but I just wanted to through it out there to see if anyone else had a need too. If I'm the only one, then there isn't really a compelling reason to add it. |
That's the recommended way indeed. |
Thanks. In that case, I'm closing in favor of #3268 / PEP 475. |
PEP 475 implemented in #5723 |
This error is common on Unix platforms. Just wanted to ask if it would be worth adding to the uerrno module before submitting a pull request.
EINTR
already is available via the errno module in micropython-lib.The text was updated successfully, but these errors were encountered: