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

Neil Schemenauer nas@python.ca
Mon, 19 Aug 2002 14:02:52 -0700

Michael Chermside wrote:
> Setting a class var in a standard library class is like playing with a 
> global variable with all the attendent problems. Senario... I want my 
> sets sorted, but I import some library that uses sets of complex numbers 
> for internal purposes.

I think the intention is that you would subclass to override the class
variable.  As you point out, modifying a class variable in a library is
asking for trouble.