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 cool-RR
Recipients SilentGhost, brandtbucher, cool-RR, pitrou, remi.lapeyre, serhiy.storchaka
Date 2020-05-24.10:22:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590315732.65.0.757682493178.issue40752@roundup.psfhosted.org>
In-reply-to
Content
Remi: Your use case is taken care of by `len(path.parts)`.

Serhiy: "If it is not iterable, the length does not make sense." I'm not sure this is a rule. I do see that the `collections.abc.Sized` class does not require an `__iter__` method to be defined.
History
Date User Action Args
2020-05-24 10:22:12cool-RRsetrecipients: + cool-RR, pitrou, SilentGhost, serhiy.storchaka, remi.lapeyre, brandtbucher
2020-05-24 10:22:12cool-RRsetmessageid: <1590315732.65.0.757682493178.issue40752@roundup.psfhosted.org>
2020-05-24 10:22:12cool-RRlinkissue40752 messages
2020-05-24 10:22:12cool-RRcreate