[Numpy-discussion] logical_and operator, &&, is missing?
ndarray at mac.com
Sun Jun 25 15:22:02 CDT 2006
On 6/24/06, Eric Firing <efiring at hawaii.edu> wrote:
> Out of curiosity, is there a simple explanation as to why "and" cannot
> be overridden but operators like "&" can? Is it a fundamental
> distinction between operators and keywords?
There is no fundamental reason. In fact overloadable boolean operators
were proposed for python: <http://www.python.org/dev/peps/pep-0335>
More information about the Numpy-discussion