Jeff Watkins wrote:
> Wow. That's a really interesting idea. I could easily expose the 
> permission predicate that the require decorator is using, however, I 
> don't think that would work, because later decorators would hide that 
> information.
> 
> Anyone with deeper Python-fu who'd like to make a suggestion?

Depends how you intend to expose it. It should work if you make it an 
attribute (as long as everyone is using "well behaved" decorators).

We can of curse also tweak the decorator library if you have any special 
needs (preferably in a way useful to others as well).


Cheers,
Simon

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to