[Zope-dev] __getattr__ and Acquisition
Andreas Kostyrka
andreas@kostyrka.priv.at
25 Sep 2002 12:30:24 +0200
Am Mit, 2002-09-25 um 10.06 schrieb Lennart Regebro:
> From: "Andreas Kostyrka" <andreas@kostyrka.priv.at>
> > And how do I return an attribute that is acquired (but not down th main
> > acquisition path, but on a side line?)
>
> You shouldn't, really.
Why not?
>
> > I assume that I could probably play some silly games with __of__ to make
> > my additional Acquisition objects to come just before my object in the
> > acquisition path, ...
>
> Yup, much better idea.
Done. Only thing I've noticed that the Catalog shows this "additional"
path elements, ...
See also www.zope.org/Members/yacc/FlexData ;), I've left the old
__getattr__ hack commented in the source, ...
Andreas
--
Andreas Kostyrka <andreas@kostyrka.priv.at>