[pypy-issue] [issue963] corner case behavior of "is"-identical objs

Armin Rigo tracker at bugs.pypy.org
Wed Dec 14 20:06:37 CET 2011


New submission from Armin Rigo <armin.rigo at gmail.com>:

>>>> a = 1
>>>> b = 1
>>>> a is b
True
>>>> object.__hash__(a)
152300024
>>>> object.__hash__(b)
152298052

I can't think right now of another way to distinguish objects that pretend to be
identical.  If there is, I'll add it to the same bug report.  I think it's a
"won't fix" issue so far.

----------
messages: 3577
nosy: arigo, pypy-issue
priority: bug
status: wontfix
title: corner case behavior of "is"-identical objs

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue963>
________________________________________


More information about the pypy-issue mailing list