summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorWinson Luk <winson.luk@gmail.com>2021-03-02 20:53:15 (GMT)
committerGitHub <noreply@github.com>2021-03-02 20:53:15 (GMT)
commit132131b404e06ee1a19b040a1f96cd1118abed0c (patch)
tree411a400f75855423fc83797fc407028e903f4ba9 /Misc
parentb36349a647b2bf8174f0e736a4fc347e92ae204e (diff)
downloadcpython-132131b404e06ee1a19b040a1f96cd1118abed0c.zip
cpython-132131b404e06ee1a19b040a1f96cd1118abed0c.tar.gz
cpython-132131b404e06ee1a19b040a1f96cd1118abed0c.tar.bz2
bpo-42782: Fail fast for permission errors in shutil.move() (GH-24001)
* Fail fast in shutil.move() to avoid creating destination directories on failure. Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-12-29-13-46-57.bpo-42782.3r0HFY.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-12-29-13-46-57.bpo-42782.3r0HFY.rst b/Misc/NEWS.d/next/Library/2020-12-29-13-46-57.bpo-42782.3r0HFY.rst
new file mode 100644
index 0000000..065df9b
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-12-29-13-46-57.bpo-42782.3r0HFY.rst
@@ -0,0 +1,2 @@
+Fail fast in :func:`shutil.move()` to avoid creating destination directories on
+failure.