X Tutup
The Wayback Machine - https://web.archive.org/web/20221223115112/https://github.com/python/cpython/pull/96038
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) (GH-96034) (GH-96038) #96038

Merged
merged 3 commits into from Sep 13, 2022

Conversation

tiran
Copy link
Member

@tiran tiran commented Aug 17, 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)

tiran added 2 commits 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 <christian@python.org>
@tiran tiran requested a review from iritkatriel as a code owner Aug 17, 2022
@tiran tiran marked this pull request as draft Aug 17, 2022
@tiran tiran marked this pull request as ready for review Sep 13, 2022
@tiran tiran removed the skip news label Sep 13, 2022
@tiran tiran changed the title [3.11] gh-96005: Handle WASI ENOTCAPABLE in getpath (GH-96006) (GH-96034) [3.11] gh-96005: Handle WASI ENOTCAPABLE in getpath (GH-96006) (GH-96034) (GH-96038) Sep 13, 2022
@tiran tiran merged commit bc337a7 into python:3.11 Sep 13, 2022
15 checks passed
@tiran tiran deleted the backport-48174fa-3.11 branch Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants
X Tutup