Re: [Numpy-discussion] zeros_like and friends shouldn't use ndarray.__new__(type(a), ...)

2010-05-26 Thread James Porter
Ping? On 5/13/2010 6:34 PM, Jim Porter wrote: Ok, let's try sending this message again, since it looks like I can't send from gmane... (See discussion on python-list at http://permalink.gmane.org/gmane.comp.python.general/661328 for context) numpy.zeros_like contains the following code:

[Numpy-discussion] zeros_like and friends shouldn't use ndarray.__new__(type(a), ...)

2010-05-13 Thread Jim Porter
Ok, let's try sending this message again, since it looks like I can't send from gmane... (See discussion on python-list at http://permalink.gmane.org/gmane.comp.python.general/661328 for context) numpy.zeros_like contains the following code: def zeros_like(a): if isinstance(a,