Hi,
I am using Sage to pass elements between gp and Magma. It works just
fine, except for the messages on the standard output.
My version of gp should print some timings, but when I call it through
SAGE, this doesn't work.
I believe this behavior is ruled by interfaces/gp.py, but I am not
experienced enough to make the proper modifications.
If I do :
sage : from sage.interfaces.expect import StdOutContext
sage : ctx = StdOutContext(gp)
sage : with ctx : gp.my_gp_function(...)
I get my messages, but with a whole bunch of useless stuffs.
I also have the option to do
sage : gp.eval('\\g 1')
that turns the debug mode on, but I have the same problem : it prints
out too many things.
Thanks
Jean-François
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org