Get rid of recursive call __getattr__
Tim N. van der Leeuw
tim.leeuwvander at nl.unisys.com
Wed Dec 14 08:14:28 EST 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?
Hi Pelmen,
Having read the docs included with my Python distribution on
__getattr__, I don't see yet how you will get recursive calls to the
method... (It's called only when the attribute cannot be looked up via
normal means)
If you are seeing recursive calls to __getattr__, perhaps you can
highlight the problem with some sample-code?
regards,
--Tim
More information about the Python-list
mailing list