R. David Murray <rdmur...@bitdance.com> added the comment: It is "obvious by inspection". Paths are paths instead of strings because they are formed out of discrete path components instead of strings. If you sorted each directory in the paths from the top down, and then sorted the subdirectories, and then sorted the filenames, you get that sorting by component. It's the same order you would get out of an ls -R.
---------- nosy: +r.david.murray stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32040> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com