[Python-Dev] Re: order of decorator application?
Terry Reedy
tjreedy at udel.edu
Thu Mar 25 10:32:22 EST 2004
<ncoghlan at iinet.net.au> wrote in message
news:1080137557.406197554c823 at mail.iinet.net.au...
> Another phrasing which makes L2R the 'obvious' evaluation order - don't
nest
> the functions when spelling out the long form (i.e. unrolling Phillip's
loop):
> def func(a,b):
> pass
> func = d1(func)
> func = d2(func)
I also regard [deco1, deco2, deco3] as defining a unix-style pipeline:
deco1 <f | deco2 | deco3 >f
Terry J. Reedy
More information about the Python-Dev
mailing list