mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
- 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`.
4 lines
254 B
ReStructuredText
4 lines
254 B
ReStructuredText
On WASI :data:`~errno.ENOTCAPABLE` is now mapped to :exc:`PermissionError`.
|
|
The :mod:`errno` modules exposes the new error number. ``getpath.py`` now
|
|
ignores :exc:`PermissionError` when it cannot open landmark files
|
|
``pybuilddir.txt`` and ``pyenv.cfg``.
|