A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-August/028040.html below:

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

[Python-Dev] PEP 218 (sets); moving set.py to LibNeil 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.

  Neil



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4