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 remi.lapeyre
Recipients SilentGhost, cool-RR, pitrou, remi.lapeyre, serhiy.storchaka
Date 2020-05-24.09:40:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590313227.69.0.00328619733685.issue40752@roundup.psfhosted.org>
In-reply-to
Content
PurePath is not iterable but I would expect 

len(Path('/home/remi/src/cpython')) == 4


The fact the the path is stored as a string is an implementation detail, it seems leaky to get the length of the string here.
History
Date User Action Args
2020-05-24 09:40:27remi.lapeyresetrecipients: + remi.lapeyre, pitrou, SilentGhost, cool-RR, serhiy.storchaka
2020-05-24 09:40:27remi.lapeyresetmessageid: <1590313227.69.0.00328619733685.issue40752@roundup.psfhosted.org>
2020-05-24 09:40:27remi.lapeyrelinkissue40752 messages
2020-05-24 09:40:27remi.lapeyrecreate