Turning a signature-changing decorator into a signature-preserving one

Michele Simionato michele.simionato at gmail.com
Mon Feb 16 16:18:56 CET 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
> signature.

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
you
to touch those things is if you are a Pylons core developer.



More information about the Python-list mailing list