]> granicus.if.org Git - python/commit
#4489: Add a shutil.rmtree that isn't suspectible to symlink attacks
authorHynek Schlawack <hs@ox.cx>
Sat, 23 Jun 2012 15:58:42 +0000 (17:58 +0200)
committerHynek Schlawack <hs@ox.cx>
Sat, 23 Jun 2012 15:58:42 +0000 (17:58 +0200)
commit67be92bed4f3d5ce156bb46185525ee5062a562e
tree09d2fce5104bfba2f033d45d6dc02ee088c6683c
parent46cb1ef457db30bdae88191fd4eaaf9c17ed3dea
#4489: Add a shutil.rmtree that isn't suspectible to symlink attacks

It is used automatically on platforms supporting the necessary os.openat() and
os.unlinkat() functions. Main code by Martin von Löwis.
Doc/library/shutil.rst
Lib/shutil.py
Lib/test/test_shutil.py
Misc/NEWS