On Sat, Apr 7, 2012 at 12:18 AM, Michael McNeil Forbes <
[email protected]> wrote:

> Hi,
>
> 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.)
>
> http://projects.scipy.org/numpy/ticket/2100


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.

Ralf
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to