Turning a signature-changing decorator into a signature-preserving one
michele.simionato at gmail.com
Mon Feb 16 10:18:56 EST 2009
On Feb 16, 4:07 pm, Gustavo Narea <m... at gustavonarea.net> wrote:
> But the problem is that it is broken.
> That decorator is for controller actions in Pylons-powered web
> applications (which are instance methods). Pylons inspects the
> action's signature to find what parameters it's going to pass to its
> instance method, which fails because my current decorator changes the
Yes, I am saying don't mess with the internal mechanism of Pylons and
leave it as
it was. Or was it broken from the beginning? The only reason I see for
to touch those things is if you are a Pylons core developer.
More information about the Python-list