I was wondering, is there a way to @deprecate
a macro instead of a function? If so, what’s the syntax?
1 Like
Did you happen to find a solution for this?
No, I didn’t, so far.
you might just access __source__
and __module__
to create warnings youself?
I guess - I had hoped there might be a simpler way.
yep, I searched several times these days and found this post again and again, also have such an expectation.
however we’d notice this is quite simple, that might be why they’re not in Stdlib.