summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-12-10 00:51:36 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-12-10 00:51:36 (GMT)
commit5de4a3cfc5d410116ef1b1cd2d3726518f108776 (patch)
treeccddb0bec6e9d4195ea31d5d75c81ea8b7b22b4e /Misc
parent0a2e874eead3238b86f6521ddc66f73061e1f236 (diff)
parent884afd92f5a194e326df2be8279d4ab160c7b0c9 (diff)
downloadcpython-5de4a3cfc5d410116ef1b1cd2d3726518f108776.zip
cpython-5de4a3cfc5d410116ef1b1cd2d3726518f108776.tar.gz
cpython-5de4a3cfc5d410116ef1b1cd2d3726518f108776.tar.bz2
Issue #21775: shutil.copytree(): fix crash when copying to VFAT
An exception handler assumed that that OSError objects always have a 'winerror' attribute. That is not the case, so the exception handler itself raised AttributeError when run on Linux (and, presumably, any other non-Windows OS). Patch by Greg Ward.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 40b9645..8587874 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -194,6 +194,12 @@ Core and Builtins
Library
-------
+- Issue #21775: shutil.copytree(): fix crash when copying to VFAT. An exception
+ handler assumed that that OSError objects always have a 'winerror' attribute.
+ That is not the case, so the exception handler itself raised AttributeError
+ when run on Linux (and, presumably, any other non-Windows OS).
+ Patch by Greg Ward.
+
- Issue #1218234: Fix inspect.getsource() to load updated source of
reloaded module. Initial patch by Berker Peksag.