STINNER Victor added the comment: Related issue: #26032 "Use scandir() to speed up pathlib globbing". ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue25596> _______________________________________