This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author godaygo
Recipients docs@python, godaygo, serhiy.storchaka
Date 2019-07-26.08:07:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1564128472.85.0.382196540199.issue37688@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-07-26 08:07:52godaygosetrecipients: + godaygo, docs@python, serhiy.storchaka
2019-07-26 08:07:52godaygosetmessageid: <1564128472.85.0.382196540199.issue37688@roundup.psfhosted.org>
2019-07-26 08:07:52godaygolinkissue37688 messages
2019-07-26 08:07:52godaygocreate