This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients clevy, martin.panter, rhettinger, serhiy.storchaka, stutzbach
Date 2015-12-19.21:41:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450561272.71.0.104670697122.issue24434@psf.upfronthosting.co.za>
In-reply-to
Content
Yet one corner case:

>>> (1, math.nan) in {1: math.nan}.items()
True
>>> (1, math.nan) in ItemsView({1: math.nan})
False

This can be resolved if compare not v with value, but a tuple (key, v) with item.
History
Date User Action Args
2015-12-19 21:41:12serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, stutzbach, martin.panter, clevy
2015-12-19 21:41:12serhiy.storchakasetmessageid: <1450561272.71.0.104670697122.issue24434@psf.upfronthosting.co.za>
2015-12-19 21:41:12serhiy.storchakalinkissue24434 messages
2015-12-19 21:41:12serhiy.storchakacreate