Tue, 21 Jun 2011 16:43:13 -0500, Mark Wiebe wrote: [clip: __array_wrap__] > Those could stay as they are, and just the ufunc usage of __array_wrap__ > can be deprecated. For classes which currently use __array_wrap__, they > would just need to also implement _numpy_ufunc_ to eliminate any > deprecation messages.
Do you mean that the new mechanism would not be able to do the same thing here? Preservation of array subclasses in linalg functions is not very uniform, and will likely need fixes in several of the functions. Since new code in any case would need to be written, I'd prefer using the "new" approach and so leaving us the option of marking the "old" approach deprecated. Pauli _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion