[pypy-issue] [issue1078] comparison between dictview and frozendict is wrong

Fraser Tweedale tracker at bugs.pypy.org
Tue Mar 6 01:39:48 CET 2012


New submission from Fraser Tweedale <frasert at benon.com>:

Comparing dictview to frozendict produces wrong result (PyPy 1.8.0).

{'a':1}.viewkeys() == set(('a'))  # True in CPy and PyPy
{'a':1}.viewkeys() == frozenset(('a'))  # True in CPy, False in PyPy

----------
messages: 4053
nosy: frasertweedale, pypy-issue
priority: bug
status: unread
title: comparison between dictview and frozendict is wrong

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


More information about the pypy-issue mailing list