Try this:

          sage: import sage.misc.stopgap
          sage: sage.misc.stopgap.set_state(False)

Strange, though - I thought that individual stopgap warnings are only 
supposed to display once, and then become invisible until you restart Sage 
(much like deprecation warnings). Maybe I was wrong.

-Keshav

----
Join us in #sagemath on irc.freenode.net !

On Thursday, May 17, 2012 5:09:33 PM UTC+8, chris wuthrich wrote:
>
>
>  Is there a way to turn off stopgaps ?
>
>  I know I should not, but my script uses 100 of times the evaluation of a 
> function (heights on elliptic curves over number fields) but checks if the 
> error occurs by itself. So I would prefer not to see all the warnings 
> because I am warned already.
>
>  Chris.
>

-- 
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