Things to address for Py3K

Eric Firing efiring at
Wed Oct 11 17:46:56 CDT 2006

Charles R Harris wrote:
>        b) extending 'and' and 'or' to allow element-by-element logical
>     operations or adding && and ||
>     2) Lowering the precedence of & so that a > 8 & a < 10  works as you
>     would expect.
> Yes on the extra operators. No on changing the precedence of &, that 
> would just confuse the heck out of all us c/c++ programmers; && and || 
> would be good. 

Travis's suggestion 2 is consistent with c/c++, where precedence 
increases from logical to bitwise to relational. (e.g.,

Python precedence now increases from logical to relational to bitwise, 
so it is inconsistent with c/c++. 


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

More information about the Numpy-discussion mailing list