You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be handled by reparsing the function each time it is called, to ensure that the current values of globals are used. A more efficient way would be to only redo the parsing when the values have changed; to make globals explicit as parameters to a main function that the other functions are closed over; or to introduce environment objects.
The text was updated successfully, but these errors were encountered:
See #4 (comment) and subsequent discussion. Related to #11.
Python's name bindings are mutable.
This can be handled by reparsing the function each time it is called, to ensure that the current values of globals are used. A more efficient way would be to only redo the parsing when the values have changed; to make globals explicit as parameters to a main function that the other functions are closed over; or to introduce environment objects.
The text was updated successfully, but these errors were encountered: