#728: Investigate PEAK's [] syntax for decorators under 2.3
-------------------------+--------------------------------------------------
 Reporter:  kevin        |        Owner:  simon   
     Type:  enhancement  |       Status:  assigned
 Priority:  normal       |    Milestone:  0.9     
Component:  TurboGears   |      Version:  0.9a4   
 Severity:  normal       |   Resolution:          
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by [EMAIL PROTECTED]):

 FYI, the 'dispatch.as()' decorator in RuleDispatch will apply no-argument
 decorators, e.g.:

     [dispatch.as(classmethod)]

 So, it's certainly possible for you to make a decorator that takes
 uncalled decorators, if you don't want to have to change them.

 Indeed, you could create just one decorator called
 "decorate(*decorators)", and you wouldn't have to change any of your
 existing decorators' code at all.

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/728>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---

Reply via email to