You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And perhaps in other decorators as well. As mentioned here I'm hoping to write a function that can programmatically generate functions with a given call signature. Once that's done it will be helpful in implementing a version of functools.wraps that also preserves the original function's call signature (perhaps with a few caveats, such as limited support for default arguments).
FWIW, I'm using the snippet below to restore the function signature in the decorator I'm using for logging in ccdproc...fixes up the docs but doesn't actually restore the signature. py3.3 and up have inspect.signature, which might save a few keystrokes...
Activity
mwcraig commentedon Apr 28, 2014
FWIW, I'm using the snippet below to restore the function signature in the decorator I'm using for logging in ccdproc...fixes up the docs but doesn't actually restore the signature. py3.3 and up have
inspect.signature, which might save a few keystrokes...pllim commentedon Dec 21, 2017
I see that #2849 was merged a long time ago. Is this still an issue?