[Patches] UserDict/UserList: raise TypeError when trying to set
Moshe Zadka <email@example.com>
Mon, 14 Feb 2000 19:37:34 +0200 (IST)
On Mon, 14 Feb 2000, Gerrit Holl wrote:
> Hello Python gurus,
> I added a __setattr__ to UserDict and UserList. When trying to set
> attributes to dictionairies and lists, an error is raised. In
> UserDict and UserList, that's not true:
I'm certain I'm against this patch: it would make deriving from UserDict
(e.g.) that much harder, by needing to override __setattr__ for any
new attributes you'd want to add.
Moshe Zadka <firstname.lastname@example.org>.
INTERNET: Learn what you know.
Share what you don't.