[issue33275] glob.glob should explicitly note that results aren't sorted

Ben FrantzDale report at bugs.python.org
Fri Apr 13 20:09:49 EDT 2018


Ben FrantzDale <ben at formlabs.com> added the comment:

Fascinating. That seems like an even wilder gotcha: It sounds like a script assuming sorted results would work in one directory (on one filesystem) but not on another. Or even weirder, if I had a mounted scratch partition, the script could work until I (or a sys admin) mounts a larger drive with a different filesystem on the same mountpoint. Yikes! Either way, this gotcha seems worth mentioning explicitly.

----------

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


More information about the Python-bugs-list mailing list