Standard ways to get union, intersection, difference of lists?
John Hunter
jdhunter at ace.bsd.uchicago.edu
Thu Jun 26 13:11:57 EDT 2003
>>>>> "Steve" == Steve Holden <sholden at holdenweb.com> writes:
Steve> Not necessarily: I believe you can just pick up the sets
Steve> module from CVS and run it under 2.2+.
I just tried import sets from the 2.3b1 distribution under python 2.2,
but it failed with an ImportError trying to load itertools. I believe
itertools is a C module, so perhaps it is not so straightforward to
use sets from 2.2?
John Hunter
More information about the Python-list
mailing list