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/043819.html below:

[Python-Dev] Re: PEP 318: Decorators last before colon

[Python-Dev] Re: PEP 318: Decorators last before colon"Martin v. Löwis" martin at v.loewis.de
Wed Mar 31 13:41:01 EST 2004
Scott David Daniels wrote:
> A simple issue I have with:
>     [classmethod, logged, debug]
>     def function(args):
>         ...
> Is "How do you type this into Idle?"  

I could, at first, not understand what you were talking about.
I tried it, and it worked just fine.

I then realized that you are talking about interactive mode,
not the IDLE source editor.

> I realize this is not the most
> important of considerations, but access to experimentation is going to
> be vital.  You can always force with:
>  >>> if True:
>         [classmethod, logged, debug]
>         def function(args):
>             ...

I suggest that the the break-less solution

[classmethod, logged, debug] def function(args):

should also be supported.

Regards,
Martin


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