]> granicus.if.org Git - python/commit
Issue #23605: os.walk() now calls os.scandir() instead of os.listdir().
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 10 Mar 2015 12:20:34 +0000 (13:20 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 10 Mar 2015 12:20:34 +0000 (13:20 +0100)
commit524a5ba111e3705c48f2f8fc22f9f0b4b122cae0
tree5b266eeb7212252f4fa362f6adce0f4aded2a219
parent283f3f8ab326bfd43f9c7c7859ae9815a7545b64
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.
Doc/library/os.rst
Lib/os.py
Misc/NEWS