[pypy-issue] [issue728] itertools bug — output different from CPython 2.7.1

Alex Gaynor tracker at bugs.pypy.org
Wed May 25 01:27:29 CEST 2011


Alex Gaynor <alex.gaynor at gmail.com> added the comment:

If you replace the `is` with `==` do you still get different results?  If the
answer is yes, we have a bug, if the answer is no you're relying on the
semantics of CPython and *not* the Python language.  Python makes no guarntees
about integer identity.

----------
nosy: +agaynor
status: unread -> chatting

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


More information about the pypy-issue mailing list