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 Ben FrantzDale
Recipients Ben FrantzDale, cheryl.sabella, docs@python, eryksun, rhettinger, serhiy.storchaka, terry.reedy
Date 2018-04-24.14:15:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
Great point. Looks like the phrase is "in arbitrary order" in the docs for
those (both 2.7 and 3), which is better than saying nothing. I'd still
prefer a bit more specificity about the potential gotcha since "arbitrary"
seems a lot less deterministic than "some file systems will give you sorted
order, some won't".

On Tue, Apr 24, 2018 at 9:41 AM, Serhiy Storchaka <>

> Serhiy Storchaka <> added the comment:
> Are there such notes in the descriptions of os.listdir(), os.scandir(),
> os.walk(), os.fwalk() and corresponding Path methods? If explicitly
> document the sorting, this should be made for all files enumerating
> functions.
> ----------
> nosy: +serhiy.storchaka
> _______________________________________
> Python tracker <>
> <>
> _______________________________________
Date User Action Args
2018-04-24 14:15:41Ben FrantzDalesetrecipients: + Ben FrantzDale, rhettinger, terry.reedy, docs@python, serhiy.storchaka, eryksun, cheryl.sabella
2018-04-24 14:15:41Ben FrantzDalelinkissue33275 messages
2018-04-24 14:15:41Ben FrantzDalecreate