Michael Brickenstein schrieb:
> you might want to have
> something like
> 
> class Predicate(object):
>    environ=None
> 
> class HasPermission(Predicate):
>    ...

That would be an alternative to monkey-patching and much cleaner, but as
Gustavo already objected, this will not change the existing predicates
in repoze.what. So we would need to provide a subclass for every
existing predicate in our own predicates module.

-- Christoph

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to