[Zope] overload __getattr__ in brains-class?

Jo Meder jo@meder.de
Mon, 22 Jul 2002 07:57:36 +0200


Am 22.07.2002, 04:43 Uhr
	schrub Philipp Auersperg <phil@bluedynamics.com>:

 
> you can overload __getattr__ in your brain class, but since this class 
> is on the fly subclassed with the class 'r',
> that inherits first from 'Record' that is an extension class that has 
> its own __getattr__
> your __getattr__ never gets called.

Yes, sure. But I wanted it to get called because my getattr was to add
some attributes from another source.

	Jo.


-- 
Internetmanufaktur Jo Meder ---------------------- Berlin, Germany
http://www.meder.de/ ------------------- fon: ++49-30-417 17 63 33
Kollwitzstr. 75 ------------------------ fax: ++49-30-417 17 63 45
10435 Berlin --------------------------- mob: ++49-170- 2 98 89 97
Public GnuPG-Key ---------- http://www.meder.de/keys/jo-pubkey.txt