S
Stefan Franke
To access a calling function's locals I can use sys._getframe(1).f_locals.
But how do I perform a full variable lookup in the context of the caller
as if it happened there - including all surrounding scopes?
(BTW: Is inspect.currentframe preferable over sys._getframe?)
Stefan
But how do I perform a full variable lookup in the context of the caller
as if it happened there - including all surrounding scopes?
(BTW: Is inspect.currentframe preferable over sys._getframe?)
Stefan