summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-03-10 20:12:10 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-03-10 20:12:10 (GMT)
commit0c5598beaf6984853659572194002f2ea0b20e76 (patch)
tree8e2e25b1c406db87aa93476069cf957b372f18f6 /Doc
parent8df4ec70d3b5dacea4e6ee011c3d757261ef1969 (diff)
downloadcpython-0c5598beaf6984853659572194002f2ea0b20e76.zip
cpython-0c5598beaf6984853659572194002f2ea0b20e76.tar.gz
cpython-0c5598beaf6984853659572194002f2ea0b20e76.tar.bz2
whatsnew: shutil copyfile SameFileError (#1492704)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.4.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index e5e720e..d210a8f 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1297,6 +1297,16 @@ and will be automatically closed at the end of the :keyword:`with` block.
(Contributed by Filip GruszczyƄski in :issue:`13896`.)
+shutil
+------
+
+:func:`~shutil.copyfile` now raises a specific :exc:`~shutil.Error` subclass,
+:exc:`~shutil.SameFileError`, when the source and destination are the same
+file, which allows an application to take appropriate action on this specific
+error. (Contributed by Atsuo Ishimoto and Hynek Schlawack in
+:issue:`1492704`.)
+
+
smtpd
-----