From 7aa6da05095349a894dca18ab304a22d692707d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tarek=20Ziad=C3=A9?= Date: Tue, 20 Apr 2010 09:13:23 +0000 Subject: [PATCH] added a note on shutil.copytree improvements --- Doc/whatsnew/3.2.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index a8b2fe4a733..1a7d08016d2 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 `_.) +* 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 ===============