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

Guido van Rossum guido@python.org
Mon, 19 Aug 2002 11:57:43 -0400

[Michael McLay]
> > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/python/python/nondist/sandbo
> >x/sets/set.py?rev=HEAD&content-type=text/vnd.viewcvs-markup
> Did you consider making BaseSet._data a slot?

Hm, maybe I should.  If this is a proposed standard data type, we
might as well get people used to the fact that they can't add random
new instance variables without subclassing first.

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

--Guido van Rossum (home page: http://www.python.org/~guido/)