Get rid of recursive call __getattr__

Steve Holden steve at
Wed Dec 14 14:33:58 CET 2005

Pelmen wrote:
> How can I get rid of recursive call __getattr__ inside this method, if
> i need to use method or property of the class?
The usual mistake here is to write a __getattr__() implementation that 
references an undefined self-relative name, which leads to a recursive 
call of __getattr__(), which ...

Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC           
PyCon TX 2006        

More information about the Python-list mailing list