A RetroSearch Logo

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

Search Query:

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

[Python-Dev] Re: method decorators (PEP 318)

[Python-Dev] Re: method decorators (PEP 318) [Python-Dev] Re: method decorators (PEP 318)Samuele Pedroni pedronis at bluewin.ch
Sun Mar 28 07:36:43 EST 2004
At 12:51 28.03.2004 +0100, Paul Moore wrote:

>1. Available as soon as decorators are:
>
>     def foo[publish("http://directory/directory")](self):
>         ...

the in-between one seems really the most confusing placement, and I don't 
know of many languages tha put modifiers in such a syntactic position.

>2. Available as soon as decorators are, but still has significant
>    information at the end of the function body
>
>     def foo [publish](self):
>         ...
>     foo.url = "http://directory/directory"

in general depending on when the decorator needs the value, this may or may 
not work. 


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