On Thu, Sep 4, 2008 at 8:39 AM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Jesus Cea wrote: >> >> I would rather revert to the method style, or redo the class to avoid >> new attribute creation, maybe via some "thread.__setattr__()" magic. > > Or maybe with __slots__ in the threading class. It'd also safe some memory > and subclasses of Threading still work as expected.
Agreed. This is what __slots__ is for. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com