[Python-Dev] PEP 318: Decorators last before colon (original) (raw)

Greg Ewing greg at cosc.canterbury.ac.nz
Wed Mar 31 23:30:16 EST 2004


Guido:

This patch (deco.diff) patches compile.c to recognize the following form of decorators:

[listofexpressions] def func(args): ...

I need a reality check here. Are you saying this is what you currently favour?

I hate this. It's unspeakably horrible. Please tell me I'm having a nightmare...

Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg at cosc.canterbury.ac.nz +--------------------------------------+



More information about the Python-Dev mailing list