A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-March/043503.html below:

[Python-Dev] Re: order of decorator application?

[Python-Dev] Re: order of decorator application? [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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4