[Python-Dev] Suggesting '.' decorators (PEP318) (original) (raw)
Heiko Wundram heikowu at ceosg.de
Sat Aug 7 11:28:56 CEST 2004
- Previous message: [Python-Dev] Suggesting '.' decorators (PEP318)
- Next message: [Python-Dev] Suggesting '.' decorators (PEP318)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Am Samstag, 7. August 2004 06:55 schrieb Kevin J. Butler:
The following makes sense to me, uses previously invalid syntax, and uses the '.' punctuation in a way similar to existing/proposed usage:
def longMethodNameForEffect(longArgumentOne=None, longArgumentTwo=42): .staticmethod .funcattrs(grammar="'@' dottedname [ '(' [arglist] ')' ]", status="experimental", author="BDFL") """ asdfasdf """ raise NotYetImplemented
-1
Same objection from me as to the proposal of decorating with | in the function: it simply takes away the actual meaning from the decorator (which actually is to make it very clear to see that the function is special in some way).
Heiko.
- Previous message: [Python-Dev] Suggesting '.' decorators (PEP318)
- Next message: [Python-Dev] Suggesting '.' decorators (PEP318)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]