Skip to content

Conversation

@smarie
Copy link
Owner

@smarie smarie commented Mar 23, 2020

This is work in progress: basically co_names should be used (done)

But it seems that there are issues with the way the eval dict (globals/locals) is propagated. Indeed when an external symbol is compiled, the eval dict should not be propagated. Instead its own eval dict should be used. This is available through target.__globals__ for functions, but not for other symbols (classes...).

Not sure all of this is done correctly today but I actually do not have time to dedicate to it as I am not sure about the potential benefits :)

Base automatically changed from master to main March 22, 2021 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants