The first part of a post is mere reasoning showing how I got to the actual interface I use. @decorator works with `call` not with `func, args, *kwargs`.
Re:Painless Decorators in Python
by abecedarius on Sunday November 03, 2013 @11:05AM
(#6663604)
Ah, OK. So there's no way to express an example that needs to get at func, etc.?
I think I'd separate out an @decorator that fixes the metadata on the returned function, and another one, using it, that makes a decorator that works on the call() interface.
I still don't understand this after a skim of your post, since one example has
while the next goes Does this introspect on the parameters of some_decorator?FWIW I'm happy enough with https://github.com/darius/sketchbook/blob/master/misc/decora...