summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/copy.py5
-rw-r--r--Misc/ACKS1
2 files changed, 5 insertions, 1 deletions
diff --git a/Lib/copy.py b/Lib/copy.py
index 86fc978..cf0b1af 100644
--- a/Lib/copy.py
+++ b/Lib/copy.py
@@ -197,7 +197,10 @@ try:
d[types.UnicodeType] = _deepcopy_atomic
except AttributeError:
pass
-d[types.CodeType] = _deepcopy_atomic
+try:
+ d[types.CodeType] = _deepcopy_atomic
+except AttributeError:
+ pass
d[types.TypeType] = _deepcopy_atomic
d[types.XRangeType] = _deepcopy_atomic
diff --git a/Misc/ACKS b/Misc/ACKS
index 9a49b86..51780d8 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -176,6 +176,7 @@ Milton L. Hankins
Stephen Hansen
Barry Hantman
Lynda Hardman
+Derek Harland
Jason Harper
Gerhard Häring
Larry Hastings