diff options
author | Hynek Schlawack <hs@ox.cx> | 2012-07-19 18:23:49 (GMT) |
---|---|---|
committer | Hynek Schlawack <hs@ox.cx> | 2012-07-19 18:23:49 (GMT) |
commit | 77d32833700f6ffc05b04e3838bb52e0bb39e2a9 (patch) | |
tree | 39bed30710637cf1a38048a88090e4571f0446b0 /Misc | |
parent | 7506dab2e8602ac5535aeadd885c18bcc572c236 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |