Bryan Olson wrote: > Christoph Zwerschke wrote: > [...] >> That may be the main problem to decide whether the cartesian product >> should return a generator or a list. > > The Cartesion product is a set.
Sets are iterable, so that isn't an answer. If it's a set, then it should either be a generator or a set. -- Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis Nothing is potent against love save impotence. -- Samuel Butler -- http://mail.python.org/mailman/listinfo/python-list