[pypy-dev] x is y <=> id(x)==id(y)

Michael Hudson-Doyle micahel at gmail.com
Sun May 5 22:40:16 CEST 2013


On 5 May 2013 21:59, Armin Rigo <arigo at tunes.org> wrote:

> Hi all,
>
> I'm just wondering again about some "bug" reports that are not bugs,
> about people misusing "is" to compare two immutable objects.  The
> current situation in PyPy is that "is" works like "==" for ints,
> longs, floats or complexes.
>

I want to say something about negative zeroes here....

Cheers,
mwh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20130506/58327125/attachment.html>


More information about the pypy-dev mailing list