[Python-Dev] Call for defense of @decorators (original) (raw)
Phillip J. Eby pje at telecommunity.com
Fri Aug 6 02:14:37 CEST 2004
- Previous message: [Python-Dev] Call for defense of @decorators
- Next message: [Python-Dev] Re: Call for defense of @decorators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 04:32 PM 8/5/04 -0700, Bill Janssen wrote:
I'd prefer (and I don't remember what the issue about this was):
def messageLength(self) as objc.accessor: return "XIV" def saveSheetDidDismissreturnCodecontextInfo(self, sheet, returnCode, contextInfo) as objc.signature("v@:@i"): pass or def foo () as staticmethod: I'm also happy with the def staticmethod foo(): proposal, but the point about breaking etags seems reasonable to me. Maybe when the PEP captures the dscussion we can all read it and come to a consensus, because we'll all understand what's wrong with the non-pie proposals.
See http://www.python.org/moin/PythonDecorators for a current pros-and-cons tally on the syntaxes you referenced.
- Previous message: [Python-Dev] Call for defense of @decorators
- Next message: [Python-Dev] Re: Call for defense of @decorators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]