[PEAK] Re: Decorators for PyProtocols and PEAK?

Paul Moore pf_moore at yahoo.co.uk
Sat Jun 26 12:08:31 EDT 2004


"Phillip J. Eby" <pje at telecommunity.com> writes:

> Couple of interesting questions though...  What order should this sort
> of advice be applied in?  That is, given:
>
>      [x(), y(), z()]
>
>      def abc(...):
>          ...
>
> Should x() get first crack at the function, or z()?  Thoughts, anyone?

x first. I believe that this is extremely likely to be the order if
the syntax gets into 2.4 (I believe it's what the current 2 contender
patches implement), so it makes sense to follow that. It's also the
variant that makes most sense to me (which is clearly the crucial
point :-))

Paul.
-- 
"Bother," said the Borg, "We've assimilated Pooh."




More information about the PEAK mailing list