Message348482
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. |
|
Date |
User |
Action |
Args |
2019-07-26 08:07:52 | godaygo | set | recipients:
+ godaygo, docs@python, serhiy.storchaka |
2019-07-26 08:07:52 | godaygo | set | messageid: <1564128472.85.0.382196540199.issue37688@roundup.psfhosted.org> |
2019-07-26 08:07:52 | godaygo | link | issue37688 messages |
2019-07-26 08:07:52 | godaygo | create | |
|