callability of object: strange behaviour

Martin Schmettow martin.schmettow at bibliothek.uni-regensburg.de
Wed Jan 15 14:12:10 CET 2003


Hi again.

It's not the constructor inside __getattr__ but __getattr__ itself, 
which causes the problem. What do I have to do to make the object 
callable again. And why does callable(node) say TRUE?

Thanks
Martin.

Martin Schmettow wrote:
> What's going wrong? Can anyone explain this behaviour to me?
> Meanwhile I will try, if constructing the parent with new.instance helps.





More information about the Python-list mailing list