Message369778
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. |
|
Date |
User |
Action |
Args |
2020-05-24 10:22:12 | cool-RR | set | recipients:
+ cool-RR, pitrou, SilentGhost, serhiy.storchaka, remi.lapeyre, brandtbucher |
2020-05-24 10:22:12 | cool-RR | set | messageid: <1590315732.65.0.757682493178.issue40752@roundup.psfhosted.org> |
2020-05-24 10:22:12 | cool-RR | link | issue40752 messages |
2020-05-24 10:22:12 | cool-RR | create | |
|