On Tue, Mar 25, 2008 at 11:12 AM, Nick Alexander <[EMAIL PROTECTED]> wrote:
>
>  > if msg = "negative number cannot be raised to a fractional power" :
>  >   print "In Sage, even odd fractional powers of negative numbers yield
>  > complex roots"
>
>  I am opposed to printing anything from the Sage library, because I
>  don't want to have to interact with it in any way, including ignoring
>  output.  Raising an error does not make sense here.  If this is
>  really seen as a win, I suggest it be made part of a "new user's
>  mode" that is off by default.

Nick,

As a compromise between you and Jason Grout I just went through the plot code
and made sure all the print statements are replaced by calls to the verbose(...)
function.  This is a compromise because they're calls with the option
level=0, so
people will see them unless they type set_verbose(-1), in which case they all
vanish.    You could put that in your init.sage file.

 -- William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to