[Numpy-discussion] Possible new multiplication operators for Python

Stéfan van der Walt stefan at sun.ac.za
Mon Aug 18 21:55:46 EDT 2008


2008/8/18 Gael Varoquaux <gael.varoquaux at normalesup.org>:
> I actually think PEP 225 is pretty good. I have not big opinion about "~"
> vs "@".

Both of these already have meanings ("boolean not" and "decorator"),
so it's pretty much a toss-up for me.  In a way, the concept of a
decorator could still apply:

@* takes the function `mul` and returns a new function, array_mul.

Cheers
Stéfan



More information about the NumPy-Discussion mailing list