On 2005 Jan 12, at 00:30, Fredrik Lundh wrote:
Guido van Rossum wrote:
The only thing this intends to break /.../
it breaks classic C types:
True!!! And it only breaks copy, NOT deepcopy, because of the
following difference between the two functions in copy.py...:
def deepcopy(x, memo=None,
Guido van Rossum wrote:
The only thing this intends to break /.../
it breaks classic C types:
import cElementTree
x = cElementTree.Element(tag)
x
Element 'tag' at 00B4BA30
x.__copy__
built-in method __copy__ of Element object at 0x00B4BA30
x.__copy__()
Element 'tag' at 00B4BA68
import