[Python-Dev] PEP 318: Decorators last before colon

Michael Hudson mwh at python.net
Wed Mar 31 05:36:32 EST 2004


Guido van Rossum <guido at python.org> writes:

>> Another possibility that has been suggested is
>> 
>> [decorator] 
>> def func(arg, arg):
>
> And one that I currently favor.  I'm out of bandwidth to participate
> on a msg-by-msg basis, but perhaps folks can see if they can come to
> terms with this solution?

Seems like it would be painful to implement.

Obviously that's not a killer blow, but:

If the implementation is hard to explain, it's a bad idea.

Cheers,
mwh

-- 
  If design space weren't so vast, and the good solutions so small a
  portion of it, programming would be a lot easier.
                                            -- maney, comp.lang.python



More information about the Python-Dev mailing list