]> granicus.if.org Git - python/commit
bpo-28564: Use os.scandir() in shutil.rmtree(). (#4085)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 4 Nov 2017 12:16:35 +0000 (14:16 +0200)
committerGitHub <noreply@github.com>
Sat, 4 Nov 2017 12:16:35 +0000 (14:16 +0200)
commitd4d79bc1ff91b04625c312f0219c89aabcd19ce4
treeba24dc24106347ce69d12d5e27532ccfb929e50e
parent82cd3cede804ca694fb0657fd985d5eff84a414f
bpo-28564: Use os.scandir() in shutil.rmtree(). (#4085)

This speeds up it to 20-40%.
Doc/whatsnew/3.7.rst
Lib/shutil.py
Lib/test/test_shutil.py
Misc/NEWS.d/next/Library/2017-10-23-16-22-54.bpo-28564.Tx-l-I.rst [new file with mode: 0644]