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

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

[Python-Dev] PEP 318: Decorators last before colonJack Diederich jack at performancedrivers.com
Thu Apr 1 00:27:55 EST 2004
On Wed, Mar 31, 2004 at 10:41:00PM -0500, Barry Warsaw wrote:
> On Tue, 2004-03-30 at 16:21, Guido van Rossum wrote:
> > > Another possibility that has been suggested is
> > > 
> > > [decorator] 
> > > def func(arg, arg):
> > 
> > And one that I currently favor.  I'm out of bandwidth to participate
> > on a msg-by-msg basis, but perhaps folks can see if they can come to
> > terms with this solution?
> 
> I don't like it.  It already has a meaning (albeit fairly useless) and
> it doesn't seem obvious from just looking at it that the decorator is
> connected to the following method.  It doesn't taste Pythonic to me.
> 
Me too, but no one contrasted my actual use cases with any in any other
format, so I must be missing something fundamental.
I support an all Guido ticket now and forever, but I don't get the
pulling-the-rabbit-out-of-a-hat decorator syntax anymore than the at-sign
assignment.  Something in the water at PyCon?

-jackdied

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