summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorJeffrey Kintscher <49998481+websurfer5@users.noreply.github.com>2023-12-27 16:23:42 (GMT)
committerGitHub <noreply@github.com>2023-12-27 16:23:42 (GMT)
commitc66b577d9f7a11ffab57985fd6fb22e9dfd4f245 (patch)
tree9f1f83c16e016d6d4b6d4025d596c109318f27a5 /Misc/NEWS.d
parent1b19d7376818d14ab865fa22cb66baeacdb88277 (diff)
downloadcpython-c66b577d9f7a11ffab57985fd6fb22e9dfd4f245.zip
cpython-c66b577d9f7a11ffab57985fd6fb22e9dfd4f245.tar.gz
cpython-c66b577d9f7a11ffab57985fd6fb22e9dfd4f245.tar.bz2
bpo-26791: Update shutil.move() to provide the same symlink move behavior as the mv shell when moving a symlink into a directory that is the target of the symlink (GH-21759)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2020-08-06-14-43-55.bpo-26791.KxoEfO.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-08-06-14-43-55.bpo-26791.KxoEfO.rst b/Misc/NEWS.d/next/Library/2020-08-06-14-43-55.bpo-26791.KxoEfO.rst
new file mode 100644
index 0000000..c6f8dcb
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-08-06-14-43-55.bpo-26791.KxoEfO.rst
@@ -0,0 +1,4 @@
+:func:`shutil.move` now moves a symlink into a directory when that
+directory is the target of the symlink. This provides the same behavior as
+the mv shell command. The previous behavior raised an exception. Patch by
+Jeffrey Kintscher.