The documentation of sage_eval() seems to indicate that this is a feature:

sage: a=5
sage: sage_eval("a+1")
...
NameError: name 'a' is not defined

Of course you can do

sage: a = 5
sage: sage_eval("a+1", locals={'a':a})
6

But I'm wondering if sage_eval() with globals shouldn't "just work".
The reason I ask is that replicating this "feature" is more difficult with #18083.

Jeroen.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to