Author rhettinger
Recipients jab, rhettinger, serhiy.storchaka
Date 2015-05-26.03:21:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432610503.67.0.349249464143.issue24286@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-05-26 03:21:43rhettingersetrecipients: + rhettinger, jab, serhiy.storchaka
2015-05-26 03:21:43rhettingersetmessageid: <1432610503.67.0.349249464143.issue24286@psf.upfronthosting.co.za>
2015-05-26 03:21:43rhettingerlinkissue24286 messages
2015-05-26 03:21:43rhettingercreate