Message306367
Thanks, serhiy.storchaka, for your answer.
I am not fully convinced.
You have described the current behaviour of the pathlib package.
But let me ask: should be this the desired behaviour?
Since string filenames and pathlib.Paths are different ways to refer to the same object (a path in a filesystem), should not be they behaved in the same way when sorting?
You pointed out that the current behaviour is "more natural order" for pathlib.Paths. I am not truly sure about that. Can you please provide any citation or additional information about that?
Thank you. |
|
Date |
User |
Action |
Args |
2017-11-16 16:12:43 | QbLearningPython | set | recipients:
+ QbLearningPython, serhiy.storchaka |
2017-11-16 16:12:43 | QbLearningPython | set | messageid: <1510848763.5.0.213398074469.issue32040@psf.upfronthosting.co.za> |
2017-11-16 16:12:43 | QbLearningPython | link | issue32040 messages |
2017-11-16 16:12:43 | QbLearningPython | create | |
|