[issue38764] Deterministic globbing.

Raymond Hettinger report at bugs.python.org
Sun Nov 10 22:41:44 EST 2019


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

I saw the article as well, but think auto-sorting would have just provided a thin mask over their serious data pipeline bugs.

Also, this isn't the only pathway to seeing file lists:  os.listdir, fnmatch, etc.

I say that we leave it alone and not unnecessarily introduce a breadth-first, recursive sort.  The reasons for the previous rejections still apply.  For the most part our tools that access os services only provide a thin pass-through and tend to neither promise nor do anything extra (even SQL only gives sorted data when the user explicitly requests ORDER By -- the could have provided a default sort but choose not to).

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list