Message244079
This looks like a bug in Python 2.7:
# Python2.7
>>> from collections import Set
>>> isinstance({1:2}.viewitems(), Set)
False
# Python3.5
>>> from collections import Set
>>> isinstance({1:2}.items(), Set)
True
I think the dictitems object needs to be registered as a Set. |
|
Date |
User |
Action |
Args |
2015-05-26 03:21:43 | rhettinger | set | recipients:
+ rhettinger, jab, serhiy.storchaka |
2015-05-26 03:21:43 | rhettinger | set | messageid: <1432610503.67.0.349249464143.issue24286@psf.upfronthosting.co.za> |
2015-05-26 03:21:43 | rhettinger | link | issue24286 messages |
2015-05-26 03:21:43 | rhettinger | create | |
|