[Numpy-discussion] (Late) summary of PEP-225 discussion at Scipy

Eric Firing efiring@hawaii....
Mon Oct 27 13:31:44 CDT 2008


James Philbin wrote:
> One operator which could be used is '%'. We could keep the current
> behaviour for ARRAY%SCALAR but have ARRAY%ARRAY as being matrix
> multiplication. It has the same precedence as *,/.
> 

No, having completely unrelated meanings for the same operator symbol 
sounds like a recipe for chaos.  The whole point is to make the code 
more readable, not less.

Eric


More information about the Numpy-discussion mailing list