[Python-Dev] PEP 218 (sets); moving set.py to Lib

Brett Cannon drifty@bigfoot.com
Mon, 19 Aug 2002 13:23:27 -0700 (PDT)


[Guido van Rossum]

> OTOH what then to do with _sort_repr -- make it a class var or an
> instance var?

Well, how often can you imagine someone printing out a single set sorted,
but having other sets that they didn't want printed out sorted?  I would
suspect that it is going to be a very rare case when someone wants just
part of their sets printing sorted and the rest not.

I say make it a class var.

-Brett C.