[Numpy-discussion] BUG(?): array([None])==None test

Pearu Peterson pearu at scipy.org
Fri Feb 10 03:30:06 CST 2006


Hi,

While converting some Numeric based code to numpy, I noticed that
in Numeric

   array([None])==None

returns array([1]) while in numpy it returns False.

Is this expected behaviour or a bug?

Pearu




More information about the Numpy-discussion mailing list