[Numpy-discussion] Deprecate boolean math operators?

Alan G Isaac alan.isaac at gmail.com
Fri Dec 6 13:16:08 EST 2013

On 12/6/2013 12:23 PM, Alexander Belopolsky wrote:
> What is the rationale for this:
>  >>> -array(True) + array(True)
> True

The minus is complementation.
So you are just writing
	False or True

Alan Isaac

More information about the NumPy-Discussion mailing list