Skip to content

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

Closed
miss-islington wants to merge 1 commit into
python:3.11from
miss-islington:backport-48174fa-3.11
Closed

[3.11] gh-96005: Handle WASI ENOTCAPABLE in getpath (GH-96006)#96032
miss-islington wants to merge 1 commit into
python:3.11from
miss-islington:backport-48174fa-3.11

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Aug 16, 2022

Copy link
Copy Markdown
Contributor
  • 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

- 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>
@miss-islington

Copy link
Copy Markdown
ContributorAuthor

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

@tiran

Copy link
Copy Markdown
Member

Deferred to 3.11.1

@miss-islington

Copy link
Copy Markdown
ContributorAuthor

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

@tiran

Copy link
Copy Markdown
Member

Replaced by PR GH-96038

@tirantiran closed this Aug 17, 2022
@miss-islington
miss-islington deleted the backport-48174fa-3.11 branch January 2, 2026 17:56
Sign up for freeto 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

@miss-islington@tiran@bedevere-bot