[Python-ideas] Implement __add__ for set and frozenset

Arnaud Delobelle arnodel at googlemail.com
Tue Jun 3 22:08:05 CEST 2008


On 3 Jun 2008, at 20:32, Raymond Hettinger wrote:

>
>
>>    A.difference(B, C, D)
>> could be rewritten as
>>    A - set.union(B, C, D)
>> which may be just as clear.
>
>
> And grotesquely inefficient.

Ah yes.  Given the other grossly inaccurate statement in that post, I  
conclude that drinking and posting on python-ideas are incompatible  
occupations.  So I will refrain from any further claim on that subject  
till tomorrow morning.

-- 
Arnaud




More information about the Python-ideas mailing list