Kirill Balunov <[email protected]> added the comment:
I understand the reasons, I only say that it does not correspond to my
perception of their equivalence, because:
os.path.isdir('') != os.path.isdir('.')
while:
Path('').is_dir() == Path('.').is_dir()
and I can confirm that some libraries rely on os.path.isdir('') -> False
behavior.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37688>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com