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 serhiy.storchaka
Recipients SilentGhost, brandtbucher, cool-RR, pitrou, remi.lapeyre, serhiy.storchaka
Date 2020-05-24.11:09:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590318589.52.0.85502761271.issue40752@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-05-24 11:09:49serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, SilentGhost, cool-RR, remi.lapeyre, brandtbucher
2020-05-24 11:09:49serhiy.storchakasetmessageid: <1590318589.52.0.85502761271.issue40752@roundup.psfhosted.org>
2020-05-24 11:09:49serhiy.storchakalinkissue40752 messages
2020-05-24 11:09:49serhiy.storchakacreate