[Numpy-discussion] Keyword argument support for vectorize.
Sun Apr 8 14:09:42 CDT 2012
On Sat, Apr 7, 2012 at 12:18 AM, Michael McNeil Forbes <
> I added a simple enhancement patch to provide vectorize with simple
> keyword argument support. (I added a new kwvectorize decorator, but
> suspect this could/should easily be rolled into the existing vectorize.)
That looks like a useful enhancement. Integrating in the existing vectorize
class should be the way to go.
> This just reorders any kwargs into the correct position (filling in
> defaults as needed) and then class the "vectorize"d function.
> If people think this is reasonable, I can improve the patch with more
> comprehensive testing and error messages.
> The vectorize tests look reasonable, although adding to verify that things
work with class methods looks necessary.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion