Comment on Adding syntax to the CPython interpreterparentComments−tpoacher1ythere is a nice "staticscope" package in python, which acts as a context manager, and does pretty much what you refer to. pretty neat.https://pypi.org/project/scoping/
Comments
there is a nice "staticscope" package in python, which acts as a context manager, and does pretty much what you refer to. pretty neat.
https://pypi.org/project/scoping/