On Mar 26, 11:18 am, William Stein <[email protected]> wrote:
> We didn't touch Python or IPython directly.  Instead we use an
> officially supported hook in IPython to preparse each input line
> before it is sent to the Python interpreter.  When you type "type(3)",
> Python sees 'type(Integer(3))'.

Very nice.  Preparsing is such a wise way to go here.  I thank $DEITY
often for preparsing allowing "^" to do exponentiation in Python
functions defined in Sage sessions.

cs
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to