Message264487
Caleb's resolution looks good, just like the C version does, at least seems correct.
Serhiy, the corner case is interesting. math.nan == math.nan should return false so I think (1, math.nan) in ItemsView({1: math.nan} is a right behaviour. But the C version, which calls PyObject_RichCompareBool and then do a pointer check first seems having some problem. |
|
Date |
User |
Action |
Args |
2016-04-29 10:45:20 | xiang.zhang | set | recipients:
+ xiang.zhang, rhettinger, stutzbach, martin.panter, serhiy.storchaka, clevy |
2016-04-29 10:45:20 | xiang.zhang | set | messageid: <1461926720.02.0.690441890918.issue24434@psf.upfronthosting.co.za> |
2016-04-29 10:45:20 | xiang.zhang | link | issue24434 messages |
2016-04-29 10:45:19 | xiang.zhang | create | |
|