diff options
author | Christian Heimes <christian@python.org> | 2022-08-16 18:20:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-16 18:20:15 (GMT) |
commit | 48174fa0b949d6b1d0c1f074e7d4e47793759a43 (patch) | |
tree | 0a226307f02413be0a6378aaf58a378004b5a3fb /Python/codecs.c | |
parent | f215d7cac9a6f9b51ba864e4252686dee4e45d64 (diff) | |
download | cpython-48174fa0b949d6b1d0c1f074e7d4e47793759a43.zip cpython-48174fa0b949d6b1d0c1f074e7d4e47793759a43.tar.gz cpython-48174fa0b949d6b1d0c1f074e7d4e47793759a43.tar.bz2 |
gh-96005: Handle WASI ENOTCAPABLE in getpath (GH-96006)
- 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`.
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions