[Python-Dev] PEP 318 restrictions on elements (original) (raw)
[Python-Dev] PEP 318 - generality of list; restrictions on elements
Fred L. Drake, Jr. fdrake at acm.org
Wed Mar 10 13:40:07 EST 2004
- Previous message: [Python-Dev] PEP 318 - generality of list; restrictions on elements
- Next message: [Python-Dev] Re: Python-Dev Digest, Vol 8, Issue 20
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wednesday 10 March 2004 11:52 am, Moore, Paul wrote:
PS I'm rapidly going off Guido's def f [...] (...) suggestion. As Just pointed out, I dislike even spaces between the function name and the argument list, so decorators there really do grate.
I'm with you on this point. The "def name [...] (args...):" syntax is probably bearable for one decorator, but seems intolerable for the case of multiple decorators. While the single-decorator case will likely be the most common, I think multiple decorators won't be so unusual that they should be severely burdened with cumbersome syntax.
-Fred
-- Fred L. Drake, Jr. PythonLabs at Zope Corporation
- Previous message: [Python-Dev] PEP 318 - generality of list; restrictions on elements
- Next message: [Python-Dev] Re: Python-Dev Digest, Vol 8, Issue 20
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]