Closed alexmojaki closed 5 years ago
Do you prefer that we switch to functools.wraps
and get rid of the decorator module?
Yes. I haven't looked into the decorator module, but if all it does is preserve signatures, that doesn't seem very useful for this library.
Okay, feel free to remove it from the repo and switch to functools.wraps
. Yay, one less bundled third-party module!
Fixed in #112
Example script:
Output:
When it tries to read the source it gets an error:
Obviously not being able to read the source is bad, but even if it could, it looks like we would get various unwanted lines, as any wrapper function is going to pollute the stack.