Re: [Numpy-discussion] ufunc overrides

2013-07-17 Thread Nathaniel Smith
On Thu, Jul 11, 2013 at 4:29 AM, Blake Griffith wrote: > > Hello NumPy, > > Part of my GSoC is compatibility with SciPy's sparse matrices and NumPy's > ufuncs. Currently there is no feasible way to do this without changing ufuncs > a bit. > > I've been considering a mechanism to override ufuncs

Re: [Numpy-discussion] ufunc overrides

2013-07-10 Thread Travis Oliphant
Hey Blake, To be clear, my blog-post is just a pre-NEP and should not be perceived as something that will transpire in NumPy anytime soon.You should take it as a "hey everyone, I think I know how to solve this problem, but I have no time to do it, but wanted to get the word out to those who mi

[Numpy-discussion] ufunc overrides

2013-07-10 Thread Blake Griffith
Hello NumPy, Part of my GSoC is compatibility with SciPy's sparse matrices and NumPy's ufuncs. Currently there is no feasible way to do this without changing ufuncs a bit. I've been considering a mechanism to override ufuncs based on checking the ufuncs arguments for a __ufunc_override__ attribut