STINNER Victor added the comment: I opened the issue #23605: "Use the new os.scandir() function in os.walk()". ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue22524> _______________________________________