diff options
author | jab <jab@users.noreply.github.com> | 2018-12-28 18:03:40 (GMT) |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2018-12-28 18:03:40 (GMT) |
commit | 9e00d9e88fbf943987e4771c753f5ca8f794103e (patch) | |
tree | 4f6e77270b48e56f29fcc1c0dab1151842f2c17a /Doc/whatsnew | |
parent | ed57e13df60ce28ba89bd49c9c5a15b1d9bf79c7 (diff) | |
download | cpython-9e00d9e88fbf943987e4771c753f5ca8f794103e.zip cpython-9e00d9e88fbf943987e4771c753f5ca8f794103e.tar.gz cpython-9e00d9e88fbf943987e4771c753f5ca8f794103e.tar.bz2 |
bpo-20849: add dirs_exist_ok arg to shutil.copytree (patch by Josh Bronson)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.8.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 2d45e7e..c592f00 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -196,6 +196,14 @@ pathlib contain characters unrepresentable at the OS level. (Contributed by Serhiy Storchaka in :issue:`33721`.) + +shutil +------ + +:func:`shutil.copytree` now accepts a new ``dirs_exist_ok`` keyword argument. +(Contributed by Josh Bronson in :issue:`20849`.) + + ssl --- @@ -284,7 +292,6 @@ Optimizations syscalls is reduced by 38% making :func:`shutil.copytree` especially faster on network filesystems. (Contributed by Giampaolo Rodola' in :issue:`33695`.) - * The default protocol in the :mod:`pickle` module is now Protocol 4, first introduced in Python 3.4. It offers better performance and smaller size compared to Protocol 3 available since Python 3.0. |