[issue26973] Dict View binops permit non-set types

2016-05-08 Thread Joshua Morton
Joshua Morton added the comment: There (seemed to be) consensus between the one or two on topic commenters that something was off, although much of the discussion was on a tangent. Although on looking back, there was even less discussion than I originally thought. Heh. My response was going

[issue26973] Dict View binops permit non-set types

2016-05-07 Thread Joshua Morton
New submission from Joshua Morton: Following the comments in python ideas [1], I'm submitting a bug report. In python 3, dictionary views (KeysView and ItemsView specifically) do not adhere to the same interface as Sets. Specifically, the __and__, __or__, __xor__, and __sub__ methods on