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

Serhiy Storchaka report at bugs.python.org
Fri Jul 26 03:34:09 EDT 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

It is because Path() == Path('') == Path('.').

----------
nosy: +serhiy.storchaka

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


More information about the docs mailing list