[issue39569] Is the return value of pathlib.Path.glob() sorted?

Brett Cannon report at bugs.python.org
Thu Feb 6 13:24:31 EST 2020


Brett Cannon <brett at python.org> added the comment:

The problem is you would have to say the same thing for all functions that return a list or touch the file system. So it's typically better to just assume unsorted and you can't expect idempotent results when dealing with the OS.

----------
nosy: +brett.cannon

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


More information about the Python-bugs-list mailing list