[Python-Dev] Re: order of decorator application?
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
> the functions when spelling out the long form (i.e. unrolling Phillip's
> def func(a,b):
> 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