[Zope] overwrite __getattr__

Paul Winkler pw_lists@slinkp.com
Sat, 5 Apr 2003 10:14:27 -0800


On Sat, Apr 05, 2003 at 04:20:21PM +0300, Dragos Chirila wrote:
> Anyway, I found another approach: I'm using 'setattr' and 'delattr' to
> add/delete properties at runtime, and it works

That's good to know. __getattr__ is already used extensively by
acquisition and security machinery, and the one time i tried to
wrap it, it was *not* fun.  very mysterious and seemingly
nonsensical errors.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's UBER TRONIC GIRL!
(random hero from isometric.spaceninja.com)