[Patches] UserDict/UserList: raise TypeError when trying to set attrs

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Mon, 14 Feb 2000 21:11:31 +0100


Gerrit Holl wrote:
> I don't know why one would do that but...

afaik, the whole idea behind UserDict and UserList
is to support subclassing:

http://www.python.org/doc/current/lib/module-UserDict.html
http://www.python.org/doc/current/lib/module-UserList.html

</F>