Re: [Numpy-discussion] is __array_ufunc__ ready for prime-time?

2017-10-31 Thread josef . pktd
On Tue, Oct 31, 2017 at 3:15 PM, William Sheffler wrote: > Thank you all kindly for your responses! Based on your encouragement, I > will pursue an ndarray subclass / __array_ufunc__ implementation. I had > been toying with np.set_numeric_ops, which is less than ideal (for example, > np.ndarray.a

Re: [Numpy-discussion] is __array_ufunc__ ready for prime-time?

2017-10-31 Thread William Sheffler
Thank you all kindly for your responses! Based on your encouragement, I will pursue an ndarray subclass / __array_ufunc__ implementation. I had been toying with np.set_numeric_ops, which is less than ideal (for example, np.ndarray.around segfaults if I use set_numeric_ops in any way). A second que

Re: [Numpy-discussion] numpy grant update

2017-10-31 Thread Peter Creasey
> Date: Fri, 27 Oct 2017 17:52:23 -0400 > From: Marten van Kerkwijk > > Hi Peter, > > When using units, if `a` is not angular (or dimensionless), I don't > see how one could write code in which your example wouldn't fail... > But I may be missing something, since for your example one would just > r