On 03/25/2012 12:22 PM, Pierre Haessig wrote: > Hi Eric, > > Thanks for the hints ! > > Le 25/03/2012 20:33, Eric Firing a écrit : >> Using the bitwise operators in place of logical operators is a hack to >> get around limitations of the language; but, if done carefully, it is a >> useful one. > What is the rationale behind not overloading __and__& other logical > operations ? > Is it a requirement that boolean operators should always return *a bool* > and not an *array of bools* ?
Pierre, See http://www.python.org/dev/peps/pep-0335/ Eric _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
