summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2010-04-20 09:13:23 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2010-04-20 09:13:23 (GMT)
commit7aa6da05095349a894dca18ab304a22d692707d2 (patch)
tree755933c5f032313d2ba5306913f492c9a521446b /Doc
parentfb437513d67c526c8579c96d2986f1e46f9140ed (diff)
downloadcpython-7aa6da05095349a894dca18ab304a22d692707d2.zip
cpython-7aa6da05095349a894dca18ab304a22d692707d2.tar.gz
cpython-7aa6da05095349a894dca18ab304a22d692707d2.tar.bz2
added a note on shutil.copytree improvements
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.2.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index a8b2fe4..1a7d080 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -85,6 +85,17 @@ New, Improved, and Deprecated Modules
(Contributed by Georg Brandl and Mattias Brändström;
`appspot issue 53094 <http://codereview.appspot.com/53094>`_.)
+* The :func:`shutil.copytree` function has two new options
+
+ * ignore_dangling_symlinks: when symlinks=false (meaning that the function
+ copy the file pointed by the symlink, not the symlink itself)
+ this option will silent the error thrown if the file doesn't exists.
+
+ * copy_function: a callable that will be used to copy files.
+ :func:`shutil.copy2` is used by default.
+
+ (Contributed by Tarek Ziade)
+
Multi-threading
===============