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 email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to