summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2012-07-19 18:23:49 (GMT)
committerHynek Schlawack <hs@ox.cx>2012-07-19 18:23:49 (GMT)
commit77d32833700f6ffc05b04e3838bb52e0bb39e2a9 (patch)
tree39bed30710637cf1a38048a88090e4571f0446b0 /Misc
parent7506dab2e8602ac5535aeadd885c18bcc572c236 (diff)
downloadcpython-77d32833700f6ffc05b04e3838bb52e0bb39e2a9.zip
cpython-77d32833700f6ffc05b04e3838bb52e0bb39e2a9.tar.gz
cpython-77d32833700f6ffc05b04e3838bb52e0bb39e2a9.tar.bz2
#1492704: Make shutil.copyfile() raise a distinct SameFileError
Patch by Atsuo Ishimoto.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ec9e3a6..35c4a44 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -44,6 +44,9 @@ Core and Builtins
Library
-------
+- Issue #1492704: shutil.copyfile() raises a distinct SameFileError now if
+ source and destination are the same file. Patch by Atsuo Ishimoto.
+
- Issue #15397: inspect.getmodulename() is now based directly on importlib
via a new importlib.machinery.all_suffixes() API.