[Python-Dev] Re: def fn (args) [dec,dec]:
Aahz
aahz at pythoncraft.com
Fri Aug 6 22:40:36 CEST 2004
On Fri, Aug 06, 2004, Jeremy Hylton wrote:
> On Fri, 06 Aug 2004 07:45:51 -0700, Guido van Rossum <guido at python.org> wrote:
>> [Anthony]
>>>
>>> I'm having trouble finding a single piece from you where you
>>> outline the problems you have with the [decorators] after args,
>>> before :. Could you possibly post a message to python-dev
>>> stating your problems with it? It's the major one I've been
>>> unable to find your objections to.
>>
>> And nobody else has expressed their objections to it either? :-)
>
> I thought it was obvious that this option was not acceptable.
It's not obvious to me, but given Guido's concerns, what are the
arguments against
def foo [deco1(xyz), deco2] (arg1, arg2, *args, **kwargs):
Since all functions MUST have a parameter list, everyone knows to keep
scanning after the decorators.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"To me vi is Zen. To use vi is to practice zen. Every command is a
koan. Profound to the user, unintelligible to the uninitiated. You
discover truth everytime you use it." --reddy at lion.austin.ibm.com
More information about the Python-Dev
mailing list