New submission from QbLearningPython :
While testing a module, I have found a weird behaviour of pathlib package. I
have a list of pathlib.Paths and I sorted() it. I assumed that the order
retrieved by sorting a list of Paths would be the same as the order retrieved
by sorting the list of
QbLearningPython added the comment:
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
New submission from QbLearningPython :
I have recently found a weird behaviour while trying to resolve a relative path
located on the root directory on a macOs.
I tried to resolve a Path('spam') and the interpreter answered
PosixPath('//spam') —double slash for root— inst