Message 319698 - Python tracker

Message319698

Author fgregg
Recipients fgregg
Date 2018-06-16.02:44:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529117076.37.0.56676864532.issue33874@psf.upfronthosting.co.za>
In-reply-to
Content
Issue https://bugs.python.org/issue24413 also flags a difference in the behavior between dictviews and sets/frozensets.

"for non-iterable object x, set().__or__(x) raises NotImplementedError, but {}.keys().__or__(x) raises TypeError"

Issue https://bugs.python.org/issue33874 added a number of tests for dictview set operators, but none covering the examples raised here.
History
Date User Action Args
2018-06-16 02:44:36fgreggsetrecipients: + fgregg
2018-06-16 02:44:36fgreggsetmessageid: <1529117076.37.0.56676864532.issue33874@psf.upfronthosting.co.za>
2018-06-16 02:44:36fgregglinkissue33874 messages
2018-06-16 02:44:35fgreggcreate