On Thu, Nov 13, 2008 at 23:31, David Cournapeau <[EMAIL PROTECTED]> wrote: > Charles R Harris wrote: >> >> I'm pretty sure about the reference leak. But what should be the >> standard for checking arguments and error returns in these object loops? > > I was wondering the same when I worked on that code a few weeks ago; > since the ufunc "return" void, I wonder how feasible it would be to > return an int instead for error messaging. Since the ufunc are not used > directly outside numpy, it should not break the API/ABI in any way ?
There are ufunc loop implementations outside of numpy. It would break the API, specifically the typedef PyUFuncGenericFunction. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
