Message369784
Path is not a string with bells and whistles. It was intentionally made not a string subclass because some string operations (including len()) just do not make sense for path or are ambiguous.
I am closing this as it goes against the initial design of pathlib. If you disagree, discuss this idea on Python-ideas first and get the support of other core developers. |
|
Date |
User |
Action |
Args |
2020-05-24 11:09:49 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, SilentGhost, cool-RR, remi.lapeyre, brandtbucher |
2020-05-24 11:09:49 | serhiy.storchaka | set | messageid: <1590318589.52.0.85502761271.issue40752@roundup.psfhosted.org> |
2020-05-24 11:09:49 | serhiy.storchaka | link | issue40752 messages |
2020-05-24 11:09:49 | serhiy.storchaka | create | |
|