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

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

[Python-Dev] PEP 318: Decorators last before colon [Python-Dev] PEP 318: Decorators last before colonPhillip J. Eby pje at telecommunity.com
Tue Mar 30 18:17:55 EST 2004
At 02:58 PM 3/30/04 -0800, Guido van Rossum wrote:
>3) This will be attractive (better than putting special mark-up in
>    docstrings), so there will be lots of voluminous decorators.
>
>4) Then the "important" decorators like classmethod will be hidden at
>    the end of the list of decorators.

Hm.  So if we reversed the order so that the outermost decorators (such as 
classmethod) come first in the list, would that sway you to relent in favor 
of decorators-after-arguments?  I don't like the reversed order, but I 
think I'd be a lot more comfortable with explaining that relatively minor 
semantic oddity to other developers than I would be with trying to explain 
the major syntactic oddity (relative to the rest of the Python language) of 
decorators-before-def.


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