[Numpy-discussion] Possible new multiplication operators for Python

Stéfan van der Walt stefan@sun.ac...
Mon Aug 18 20:55:46 CDT 2008


2008/8/18 Gael Varoquaux <gael.varoquaux@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