diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-12-10 00:50:32 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2014-12-10 00:50:32 (GMT) |
commit | 884afd92f5a194e326df2be8279d4ab160c7b0c9 (patch) | |
tree | ce04f35703ae8e49f7795ea92cfad63047126041 /Misc | |
parent | 8b1cbd2b7cd8752462c68b17447446b54065691c (diff) | |
download | cpython-884afd92f5a194e326df2be8279d4ab160c7b0c9.zip cpython-884afd92f5a194e326df2be8279d4ab160c7b0c9.tar.gz cpython-884afd92f5a194e326df2be8279d4ab160c7b0c9.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/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -39,6 +39,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. |