SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

GH-101357: Suppress `OSError` from `pathlib.Path.exists()` and `is_*()` (#118243)

Suppress all `OSError` exceptions from `pathlib.Path.exists()` and `is_*()`
rather than a selection of more common errors as we do presently. Also
adjust the implementations to call `os.path.exists()` etc, which are much
faster on Windows thanks to GH-101196.
B
Barney Gale committed
fbe6a0988ff08aef29c4649527d5d620d77ca4a2
Parent: d8e0e00
Committed by GitHub <[email protected]> on 5/14/2024, 5:53:15 PM