bpo-35306: Avoid raising OSError from pathlib.Path.exists when passed… · python/cpython@ab5d78c · GitHub
Skip to content

Commit ab5d78c

Browse files
bpo-35306: Avoid raising OSError from pathlib.Path.exists when passed an invalid filename (GH-25529)
(cherry picked from commit 4696f12) Co-authored-by: Steve Dower <steve.dower@python.org>
1 parent 8e7cebb commit ab5d78c

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

Lib/pathlib.py

Lines changed: 1 addition & 0 deletions
Lines changed: 2 additions & 0 deletions

0 commit comments

Comments
 (0)