diff options
author | Larry Hastings <larry@hastings.org> | 2012-06-23 23:55:07 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2012-06-23 23:55:07 (GMT) |
commit | b698d8e7e91061fd247743b31b7228dc64eceba8 (patch) | |
tree | 5f872cf5f5303bfa282a3dce641f1df6b579378c /Misc | |
parent | b7eb563a2a69ba7182b8dc0634b53dc37b7d93a1 (diff) | |
download | cpython-b698d8e7e91061fd247743b31b7228dc64eceba8.zip cpython-b698d8e7e91061fd247743b31b7228dc64eceba8.tar.gz cpython-b698d8e7e91061fd247743b31b7228dc64eceba8.tar.bz2 |
Issue #15154: Add "dir_fd" parameter to os.rmdir, remove "rmdir"
parameter from os.remove / os.unlink.
Patch written by Georg Brandl. (I'm really looking forward to George
getting commit privileges so I don't have to keep doing checkins on his
behalf.)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -47,6 +47,9 @@ Core and Builtins Library ------- +- Issue #15154: Add "dir_fd" parameter to os.rmdir, remove "rmdir" + parameter from os.remove / os.unlink. + - Issue #4489: Add a shutil.rmtree that isn't susceptible 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. |