python-aspectlib icon indicating copy to clipboard operation
python-aspectlib copied to clipboard

Invocation location info from Aspect?

Open wjx opened this issue 4 years ago • 0 comments

I wonder if we can retrieve the invocation location info from aspect?
For example, when patching open(), there could be several places where open() is invoked. Is it possible to which open() is invoked from aspect?
Yes there's cutpoint passed in when using bind argument to @Aspect, but there seems no invocation location info(like file, line, etc.) in the cutpoint parameter.

wjx avatar Dec 10 '21 15:12 wjx