On Wed, Feb 11, 2009 at 12:00 PM, Gustavo Narea <[email protected]> wrote: > On Wednesday February 11, 2009 16:49:13 jorge.vargas wrote: >> class decorators? what about everyone not in py2.6? I think way back >> when allow_only was created we agreed it was a good compromise before >> class decorators where introduced. > > class DaController(BaseController): > pass > DaController = protect(not_anonymous())(DaController) > > is the same thing.
I think at this point this will confuse people more than what it will help, why didn't you suggested this way back when allow_only was introduced? I like the "class decorator" approach but I'm really not sure if it will break stuff already build on TG. I'm +0 on this, anyone else? PS: get on IRC :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
