[PEAK] (Z)ConfigLoader gives me a tuple when I just want a component

Phillip J. Eby pje at telecommunity.com
Thu Jun 8 13:11:45 EDT 2006


At 01:56 PM 6/8/2006 +0100, Giles Brown wrote:
>I'm not sure I understand why naming.lookup() works, but not
>naming.Reference().
>Is it because the operation of naming.Reference() relies on the kind of
>repeated evaluation that comes from implementing ISmartProperty, but
>that naming.lookup() actually does the lookup when the rule expression is
>evaluated so that we can safely index the result of naming.lookup() but not
>of naming.Reference()?

Yes, that's precisely it.




More information about the PEAK mailing list