]> granicus.if.org Git - python/commit
Somehow, copy() of a classic class object was handled
authorGuido van Rossum <guido@python.org>
Fri, 7 Feb 2003 17:53:23 +0000 (17:53 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 7 Feb 2003 17:53:23 +0000 (17:53 +0000)
commit1dca482dbdd42fc9a81cab1ae2f04471511c338d
treee2e900469c60acd0816a18967ce38970624c4384
parentc06e3acc735a6e9cf28d0f511493bcfd8829117d
Somehow, copy() of a classic class object was handled
atomically, but deepcopy() didn't support this at all.
I don't see any reason for this, so I'm adding ClassType
to the set of types that are deep-copied atomically.
Lib/copy.py
Lib/test/test_copy.py