[SciPy-dev] Fancy indexing curiosity

Sasha ndarray at mac.com
Sun Jan 8 09:56:35 CST 2006

Pearu Peterson <pearu <at> scipy.org> writes:
> In [5]: a==a
> Out[5]: False
> In [6]: a is a
> Out[6]: True
> I would expect that empty sets are always equal to each other.

I would think that since "==" is element-wise, it should return
an empty array when applied to two empty arrays, not "True".

- sasha

More information about the Scipy-dev mailing list