Skip to content
Snippets Groups Projects
Unverified Commit 0185f34d authored by Serhiy Storchaka's avatar Serhiy Storchaka Committed by GitHub
Browse files

bpo-33721: Make some os.path functions and pathlib.Path methods be tolerant...

 bpo-33721: Make some os.path functions and pathlib.Path methods be tolerant to invalid paths.  (#7695)

Such functions as os.path.exists(), os.path.lexists(), os.path.isdir(),
os.path.isfile(), os.path.islink(), and os.path.ismount() now return False
instead of raising ValueError or its subclasses UnicodeEncodeError
and UnicodeDecodeError for paths that contain characters or bytes
unrepresentative at the OS level.
parent 7bdf2826
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment