-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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
gh-96005: FreeBSD has ENOTCAPABLE, too (GH-96034) #96034
Conversation
tiran
commented
Aug 16, 2022
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Issue: [WASI] getpath.py does not handle "Capabilities insufficient" (ENOTCAPABLE) #96005
Problem: FreeBSD has ENOTCAPABLE, too. This means that the original changeset maps ENOTCAPABLE to PermissionError on FreeBSD as well. We never wrapped the errno, so it should be ok.
https://www.freebsd.org/cgi/man.cgi?query=errno&sektion=2&manpath=freebsd-release-ports |
Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, @tiran, I could not cleanly backport this to |
) (GH-96038) - On WASI `ENOTCAPABLE` is now mapped to `PermissionError`. - The `errno` modules exposes the new error number. - `getpath.py` now ignores `PermissionError` when it cannot open landmark files `pybuilddir.txt` and `pyenv.cfg`.