-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
Some errnos for BSD/OSX are missing from errno module #87137
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
Some errnos for BSD/OSX are currently not supported by the errno module. It would be helpful for these to be exposed to the end-user so they could programmatically use them instead of reinventing the wheel in a separate module/C extension, or hardcoding the information in consuming pieces of code. |
Some items that I've noted so far that are missing:
|
I've checked all three and all of them are present in errnomodule.c, and all of them are defined in the errno module (macOS 11, Python 3.9.1 "universal2" build). On first glance all errno values in the macOS 11 SDK are present in errnomodule.c. |
I was too quick, EQFULL appears to be missing: #define EQFULL 106 /* Interface output queue is full */ If the script I'm using to check for this is correct this is the only missing errno with the macOS 11 SDK. |
Thanks for the patch, Ronald, and for the report, Enji! ✨ 🍰 ✨ |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: