Is there a way to evaluate a string in the current scope? So that sage: expression and sage: some_evaluate(str(expression)) give the same thing at the same place. I know about sage_eval, but it seems to need a dictionary of everything in the local scope.
For instance, sage: a=3 sage: a^2 9 sage: some_evaluate('a^2') 9 instead of sage: a=3 sage: sage_eval('a^2') NameError: name 'a' is not defined (of course this is a trivial example). Guillermo -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CANnG18-6kgPsA1jZTKEZKsOVNxEpvRdMJi_xyv37r6po_r1fsw%40mail.gmail.com.