[Numpy-discussion] numarray __copy__ and __deepcopy__

Tim Hochberg tim.hochberg at ieee.org
Fri Nov 7 13:27:16 CST 2003


It appears that numarray.NumArray does not supply __copy__ or 
__deepcopy__ methods and as a result copy.copy and copy.deepcopy do not 
work correctly. It appears that adding "__copy__ = copy" to class 
NumArray is suffcient for copy, __deepcopy__ appears to need something 
more. Sadly, I don't have time to investigate this further right now.

Regards,

-tim






More information about the Numpy-discussion mailing list