]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] bpo-38688, shutil.copytree: consume iterator and create list of entries to...
authorBruno P. Kinoshita <kinow@users.noreply.github.com>
Wed, 27 Nov 2019 04:49:37 +0000 (17:49 +1300)
committerGiampaolo Rodola <g.rodola@gmail.com>
Wed, 27 Nov 2019 04:49:37 +0000 (12:49 +0800)
commit65c92c5870944b972a879031abd4c20c4f0d7981
tree1176ca68f6d6bb600e69f4a6333d8d9ab4d22380
parenta9c86f5e1afa2487524b1947153953b583714d62
[3.8] bpo-38688, shutil.copytree: consume iterator and create list of entries to prevent infinite recursion (GH-17397)

(cherry picked from commit 9bbcbc9f6dfe1368fe7330b117707f828e6a2c18)

Co-authored-by: Bruno P. Kinoshita <kinow@users.noreply.github.com>
Lib/shutil.py
Lib/test/test_shutil.py
Misc/NEWS.d/next/Library/2019-11-22-10-45-03.bpo-38668.iKx23z.rst [new file with mode: 0644]