Skip to content
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

[3.11] gh-96005: Handle WASI ENOTCAPABLE in getpath (GH-96006) #96032

Closed

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 16, 2022

  • 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.
    (cherry picked from commit 48174fa)

Co-authored-by: Christian Heimes [email protected]

- 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`.
(cherry picked from commit 48174fa)

Co-authored-by: Christian Heimes <[email protected]>
@miss-islington
Copy link
Contributor Author

Status check is done, and it's a success ✅ .

@tiran
Copy link
Member

tiran commented Aug 16, 2022

Deferred to 3.11.1

@miss-islington
Copy link
Contributor Author

Status check is done, and it's a success ✅ .

@tiran
Copy link
Member

tiran commented Aug 17, 2022

Replaced by PR GH-96038

@tiran tiran closed this Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants