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 rhettinger
Recipients canjo, rhettinger
Date 2015-06-09.05:32:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433827977.01.0.296186023212.issue24413@psf.upfronthosting.co.za>
In-reply-to
Content
The dictviews_or() function in Objects/dictobject.c is converting the keys to a set and calling the set.update() method with the given argument.  The set.update() method doesn't return NotImplemented because it has no reflected operation.

It looks like dictviews_or() should instead call set.__or__() to allow it a chance to return NotImplemented.  The other dictview set operations are similarly afflicted.
History
Date User Action Args
2015-06-09 05:32:57rhettingersetrecipients: + rhettinger, canjo
2015-06-09 05:32:57rhettingersetmessageid: <1433827977.01.0.296186023212.issue24413@psf.upfronthosting.co.za>
2015-06-09 05:32:56rhettingerlinkissue24413 messages
2015-06-09 05:32:56rhettingercreate