Issue #9993: When the source and destination are on different filesystems,
and the source is a symlink, shutil.move() now recreates a symlink on the
destination instead of copying the file contents.
Patch by Jonathan Niehof and Hynek Schlawack.
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index 45be0e5..9e8784b 100644
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -196,7 +196,12 @@
If the destination is on the current filesystem, then :func:`os.rename` is
used. Otherwise, *src* is copied (using :func:`copy2`) to *dst* and then
- removed.
+ removed. In case of symlinks, a new symlink pointing to the target of *src*
+ will be created in or as *dst* and *src* will be removed.
+
+ .. versionchanged:: 3.3
+ Added explicit symlink handling for foreign filesystems, thus adapting
+ it to the behavior of GNU's :program:`mv`.
.. function:: disk_usage(path)