Message254566
Technically the docs are not wrong: "matches files according to the rules of the shell" does not say anything about sorting (matching is separate from what is done with the matched filenames; the shell sorts them and inserts them in place, python returns an unsorted list). It also mentions using listdir, which is documented as unsorted.
That said, it would be reasonable to insert a disclaimer that the returned results are unsorted, unlike the shell. If you want to open an new issue with a proposed doc patch, that would be fine. |
|
Date |
User |
Action |
Args |
2015-11-12 22:36:53 | r.david.murray | set | recipients:
+ r.david.murray, eric.smith, drj, Jim.Jewett, serhiy.storchaka, Dave Jones |
2015-11-12 22:36:53 | r.david.murray | set | messageid: <1447367813.55.0.709565237816.issue21748@psf.upfronthosting.co.za> |
2015-11-12 22:36:53 | r.david.murray | link | issue21748 messages |
2015-11-12 22:36:53 | r.david.murray | create | |
|