Rafe a écrit : (snip) > I posted this to another thread, but... And I answered there, explaining why it's not a proper solution. http://groups.google.com/group/comp.lang.python/browse_frm/thread/7ed51a8614a58082# (snip about using __new__ to add class attributes, cf above link for more)