To the extent that this is a real issue, you could just use a decorator that exposed the wrapped function as an attribute of the returned function object.
You could even write a higher order function, callable as a decorator, that would transform a decorator that didn't do this into one that was otherwise identical that did.
You could even write a higher order function, callable as a decorator, that would transform a decorator that didn't do this into one that was otherwise identical that did.