In <[email protected]> Steven D'Aprano 
<[email protected]> writes:

>Then, in your __init__ method, to initialise an attribute use:

>    self.__dict__['attr'] = value

>to bypass the setattr.

Ah, that's the trick!  Thanks!

~K
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to