Serhiy Storchaka added the comment: Thank you Xavier for correcting the documentation.
Here is minimal patch that switches the glob module to scandir(). ---------- title: regular files handled as directories in the glob module -> Use scandir() to speed the glob module Added file: http://bugs.python.org/file41576/glob_scandir_4.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25596> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com