Damien George 2ac1364688 py/objset: Check that RHS of a binary op is a set/frozenset.
CPython docs explicitly state that the RHS of a set/frozenset binary op
must be a set to prevent user errors.  It also preserves commutativity of
the ops, eg: "abc" & set() is a TypeError, and so should be set() & "abc".

This change actually decreases unix (x64) code by 160 bytes; it increases
stm32 by 4 bytes and esp8266 by 28 bytes (but previous patch already
introduced a much large saving).
2017-10-03 17:56:27 +11:00
..
2017-08-13 22:52:33 +10:00
2017-05-29 11:36:05 +03:00
2017-07-18 11:57:39 +10:00
2017-07-18 11:57:39 +10:00
2017-09-01 15:22:25 +10:00
2017-07-18 11:57:39 +10:00