#17815: Remove verbose from the global namespace
----------------------------------+--------------------------
       Reporter:  rws             |        Owner:
           Type:  defect          |       Status:  needs_work
       Priority:  major           |    Milestone:  sage-6.6
      Component:  user interface  |   Resolution:
       Keywords:                  |    Merged in:
        Authors:                  |    Reviewers:
Report Upstream:  N/A             |  Work issues:
         Branch:                  |       Commit:
   Dependencies:                  |     Stopgaps:
----------------------------------+--------------------------
Changes (by vbraun):

 * status:  positive_review => needs_work
 * milestone:  sage-duplicate/invalid/wontfix => sage-6.6


Old description:

> What use is `sage.misc.misc.verbose("WARNING:...` in `plot.py` when no
> possible verbosity level will turn off the output?
> {{{
> sage: verbose(level=-1)
> verbose -1 (<module>)
> 5.786
> sage: plot(sqrt(x),(x,-1,3))
> verbose 0 (2691: plot.py, generate_plot_points) WARNING: When plotting,
> failed to evaluate function at 51 points.
> verbose 0 (2691: plot.py, generate_plot_points) Last error message: 'math
> domain error'
> }}}

New description:

 Its confusing to users. Why are we exposing our logging system to end
 users?

 Stretch goal: Use Python logging instead of reinventing the logging wheel.

--

Comment:

 I suggest to repurpose the ticket, see new description. The old
 description follows:

 What use is `sage.misc.misc.verbose("WARNING:...` in `plot.py` when no
 possible verbosity level will turn off the output?
 {{{
 sage: verbose(level=-1)
 verbose -1 (<module>)
 5.786
 sage: plot(sqrt(x),(x,-1,3))
 verbose 0 (2691: plot.py, generate_plot_points) WARNING: When plotting,
 failed to evaluate function at 51 points.
 verbose 0 (2691: plot.py, generate_plot_points) Last error message: 'math
 domain error'
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17815#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to