]> granicus.if.org Git - python/commit
SF patch 560794 (Greg Chapman): deepcopy can't handle custom
authorGuido van Rossum <guido@python.org>
Mon, 10 Jun 2002 21:10:27 +0000 (21:10 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 10 Jun 2002 21:10:27 +0000 (21:10 +0000)
commit11ade1ddc053dcec884e2431b55fb1c1727c65d7
treeb418bbdd024c19b9a10269236c8fc80d36662d72
parentcf02ac6154e30708379308f1a3206671e817165d
SF patch 560794 (Greg Chapman): deepcopy can't handle custom
metaclasses.

This is essentially the same problem as that reported in bug 494904
for pickle: deepcopy should treat instances of custom metaclasses the
same way it treats instances of type 'type'.

Bugfix candidate.
Lib/copy.py