"Elvelind Grandin" <[EMAIL PROTECTED]> writes:
> Open a ticket and attach the patch.
It will probably be declined (Alberto has already pronounced to be against
that after Lee's post).
I'm the third to oppose that idea. What is wrong with
def _my_method(self, **kwargs):
# do stuff
@expose()
def my_method(self, **kwargs):
return self._my_method(**kwargs)
? It is cleaner, provides the exposed interface to the world and an internal
interface for your application, decouples all web behaviour from Python's
behaviour, decouples your internal module from error_handler, identity,
validators, etc.
Be seeing you,
--
Jorge Godoy <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---