Hi everyone,
I submitted a PR today, and Serhiy decided it needs a discussion on python-ideas and agreement from core developers before it could go forward.
Today I wrote a script and did this:
sorted(paths, key=lambda path: len(str(path)), reverse=True)
But it would have been nicer if I could do this:
sorted(paths, key=len, reverse=True)
So I implemented `PurePath.__len__` as `str(len(path))`.
Serhiy and Remi objected, because it might not be obvious that the length of the path would be the length of string.
What do you think? Can I get some +1s and -1s for this change?
Thanks,