diff options
author | Barney Gale <barney.gale@gmail.com> | 2023-05-11 00:01:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-11 00:01:39 (GMT) |
commit | 94f30c75576bb8a20724b2ac758fa33af089a522 (patch) | |
tree | e6c33824c353d12ff76eafd1af69d1d2aa834760 /.github/workflows/build.yml | |
parent | 373bca0cc5256dc512ffc22bdff4424f7ee8baa2 (diff) | |
download | cpython-94f30c75576bb8a20724b2ac758fa33af089a522.zip cpython-94f30c75576bb8a20724b2ac758fa33af089a522.tar.gz cpython-94f30c75576bb8a20724b2ac758fa33af089a522.tar.bz2 |
GH-90208: Suppress OSError exceptions from `pathlib.Path.glob()` (GH-104141)
`pathlib.Path.glob()` now suppresses all OSError exceptions, except
those raised from calling `is_dir()` on the top-level path.
Previously, `glob()` suppressed ENOENT, ENOTDIR, EBADF and ELOOP
errors and their Windows equivalents. PermissionError was also
suppressed unless it occurred when calling `is_dir()` on the
top-level path. However, the selector would abort prematurely
if a PermissionError was raised, and so `glob()` could return
incomplete results.
Diffstat (limited to '.github/workflows/build.yml')
0 files changed, 0 insertions, 0 deletions