SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

GH-78722: Raise exceptions from `pathlib.Path.iterdir()` without delay. (#107320)

`pathlib.Path.iterdir()` now immediately raises any `OSError`
exception from `os.listdir()`, rather than waiting until its
result is iterated over.
B
Barney Gale committed
bdc3c884cdc90102ad68b6b55dc9b988e729ae35
Parent: 594b000
Committed by GitHub <noreply@github.com> on 9/2/2023, 3:08:03 PM