This is what I figured out to adjust Singular's printlevel:

from sage.libs.singular import function_factory
execute = function_factory.ff.execute
execute('printlevel=-1')


Now that previous example runs without all the clutter:

sage: R.<x,y> = GF(3)[]
....: S = R.quo(ideal(y^4 + y - x^5))
....: from sage.libs.singular.function import singular_function
....: normalC = sage.libs.singular.function_factory.ff.normal__lib.normalC
....: normalC(S.defining_ideal(), ['withGens'])[1][0]
....: 
[y^4 + y, x^4*y, x^3*y^3 - x^3*y^2 + x^3*y, x^2*y^3 - x^2*y^2 + x^2*y, x^3*y
^2 + x^3*y, x*y^3 - x*y^2 + x*y, x^4]



-- 
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 sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/60766acf-126b-458d-bb7b-582827fce544%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to