[Python-Dev] PEP 318: Decorators last before colon (original) (raw)
Barry Warsaw barry at python.org
Wed Mar 31 22:41:00 EST 2004
- Previous message: [Python-Dev] PEP 318: Decorators last before colon
- Next message: [Python-Dev] PEP 318: Decorators last before colon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
-Barry
- Previous message: [Python-Dev] PEP 318: Decorators last before colon
- Next message: [Python-Dev] PEP 318: Decorators last before colon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]