[Python-Dev] Re: A `cogen' module [was: Re: PEP 218 (sets); moving set.py to Lib]

François Pinard pinard@iro.umontreal.ca
28 Aug 2002 16:45:14 -0400

[Guido van Rossum]

> > > def powerset(base):

> > This does not yield the subsets in "sorted order", like the other
> > `cogen' methods do, and I would prefer to keep that promise.

> That may be a matter of permuting the bits?

I looked at them: nothing evident pops up.  I tried inverting, inversing,
and both, in hope to trigger the sight of some magic property, to no avail.

François Pinard   http://www.iro.umontreal.ca/~pinard