commit | 524a5ba111e3705c48f2f8fc22f9f0b4b122cae0 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Mar 10 13:20:34 2015 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Mar 10 13:20:34 2015 +0100 |
tree | 5b266eeb7212252f4fa362f6adce0f4aded2a219 | |
parent | 283f3f8ab326bfd43f9c7c7859ae9815a7545b64 [diff] |
Issue #23605: os.walk() now calls os.scandir() instead of os.listdir(). The usage of os.scandir() reduces the number of calls to os.stat(). Initial patch written by Ben Hoyt.