Message256741
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. |
|
Date |
User |
Action |
Args |
2015-12-19 21:41:12 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, stutzbach, martin.panter, clevy |
2015-12-19 21:41:12 | serhiy.storchaka | set | messageid: <1450561272.71.0.104670697122.issue24434@psf.upfronthosting.co.za> |
2015-12-19 21:41:12 | serhiy.storchaka | link | issue24434 messages |
2015-12-19 21:41:12 | serhiy.storchaka | create | |
|