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

Scott David Daniels Scott.Daniels at Acm.Org
Wed Mar 31 13:24:09 EST 2004


A simple issue I have with:
     [classmethod, logged, debug]
     def function(args):
         ...
Is "How do you type this into Idle?"  I realize this is not the most
important of considerations, but access to experimentation is going to
be vital.  You can always force with:
 >>> if True:
         [classmethod, logged, debug]
         def function(args):
             ...

but I wonder if we want to go that route.
-- 
-Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-Dev mailing list