[Python-ideas] Implement __add__ for set and frozenset

Mattias Engdegård mattias at virtutech.se
Tue Jun 3 21:12:15 CEST 2008


Arnaud Delobelle <arnodel at googlemail.com> writes:

>     A ^ (B ^ B) = A  but  (A ^ B) ^ B = A | B

No, symmetric set difference is associative.




More information about the Python-ideas mailing list