Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

math lib is no longer added to _exec_globals #4

Open
dnparadice opened this issue Jun 3, 2024 · 0 comments
Open

math lib is no longer added to _exec_globals #4

dnparadice opened this issue Jun 3, 2024 · 0 comments

Comments

@dnparadice
Copy link
Owner

removing the option to import math on launch (it is now required) skips adding math to the _exec_globals dict but it should be in there so you can call math directly if you so choose like 'math.sin(3)', note that calling sin(3) works because all the math functions have a wrapper but calling 'math.sin(3)' is broken because math is not found in the _exec_globals any more.

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

No branches or pull requests

1 participant