[docs] [issue37688] The results from os.path.isdir(...) an Path(...).is_dir() are not equivalent for empty path strings.

Brett Cannon report at bugs.python.org
Mon Jul 29 14:50:44 EDT 2019


Brett Cannon <brett at python.org> added the comment:

Changing the semantics of os.path.isdir() for something like this isn't worth breaking code; basically it's now a quirk of the function.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37688>
_______________________________________


More information about the docs mailing list