25 Sep
2002
25 Sep
'02
6:23 p.m.
Lennart Regebro writes:
... Because that's not how it's supposed to work. You can override __getattr__ to have special magick attributes. Acquisition is not a special magick attribute. __getattr__ is only called when an attribute aren't found in a "normal" way, and in the context of Zope, Acquicistion would be regarded as normal. :-) I had written the exact same statement some time ago. Nevertheless, it is wrong :( Now, I know it better:
"__getattr__" is used before acquisition comes into play. Dieter