This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author berker.peksag
Recipients belopolsky, benjamin.peterson, berker.peksag, brandon-rhodes, daniel.urban, eric.araujo, ezio.melotti, ncoghlan, pitrou, python-dev, sandro.tosi, serhiy.storchaka
Date 2017-02-19.21:56:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487541383.6.0.186465396313.issue11572@psf.upfronthosting.co.za>
In-reply-to
Content
All changes to Lib/test/test_copy.py have already been committed.

Perhaps the following hunks from the latest patch can still be useful:

-try:
-    d[types.CodeType] = _deepcopy_atomic
-except AttributeError:
-    pass
+d[types.CodeType] = _deepcopy_atomic

---

 def _deepcopy_tuple(x, memo):
+    if not x:
+        return x

---

-        try:
-            issc = issubclass(cls, type)
-        except TypeError: # cls is not a class (old Boost; see SF #502085)
-            issc = 0
-        if issc:
+        if issubclass(cls, type):
History
Date User Action Args
2017-02-19 21:56:23berker.peksagsetrecipients: + berker.peksag, ncoghlan, belopolsky, pitrou, benjamin.peterson, ezio.melotti, eric.araujo, daniel.urban, sandro.tosi, brandon-rhodes, python-dev, serhiy.storchaka
2017-02-19 21:56:23berker.peksagsetmessageid: <1487541383.6.0.186465396313.issue11572@psf.upfronthosting.co.za>
2017-02-19 21:56:23berker.peksaglinkissue11572 messages
2017-02-19 21:56:22berker.peksagcreate