>> * New method (proposed by Shane Holloway):  s1.isdisjoint(s2).
>> Logically equivalent to "not s1.intersection(s2)" but has an
>> early-out if a common member is found.  

[MvL]
> I'd rather see iterator versions of the set operations. 

Interesting idea.  I'm not sure I see how to make it work.
If s|t returned an iterator, then how would s|t|u work?
Are you proposing lazy evaluation of unions, intersections,
and differences?


Raymond
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to