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 QbLearningPython
Recipients QbLearningPython, serhiy.storchaka
Date 2017-11-16.16:12:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510848763.5.0.213398074469.issue32040@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-11-16 16:12:43QbLearningPythonsetrecipients: + QbLearningPython, serhiy.storchaka
2017-11-16 16:12:43QbLearningPythonsetmessageid: <1510848763.5.0.213398074469.issue32040@psf.upfronthosting.co.za>
2017-11-16 16:12:43QbLearningPythonlinkissue32040 messages
2017-11-16 16:12:43QbLearningPythoncreate