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 <CACJ_BKdaZQnLByOB2rJjD-cJQdi1JUW5iW_HgYJV3gcnX24muA@mail.gmail.com>
In-reply-to <1524577292.8.0.682650639539.issue33275@psf.upfronthosting.co.za>
Content
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 <report@bugs.python.org>
wrote:

>
> Serhiy Storchaka <storchaka+cpython@gmail.com> 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 <report@bugs.python.org>
> <https://bugs.python.org/issue33275>
> _______________________________________
>
History
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