[issue40752] Implement PurePath.__len__

Serhiy Storchaka report at bugs.python.org
Sun May 24 05:49:38 EDT 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

If it is not iterable, the length does not make sense.

Do you expect also len(-123) == 4?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40752>
_______________________________________


More information about the Python-bugs-list mailing list