Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove verbose from the global namespace #17815

Open
rwst opened this issue Feb 20, 2015 · 6 comments
Open

Remove verbose from the global namespace #17815

rwst opened this issue Feb 20, 2015 · 6 comments

Comments

@rwst
Copy link

rwst commented Feb 20, 2015

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

#29895 deprecates this import to sage.misc.all and hence to the global namespace.

After the deprecation period, the present ticket will remove it.

See also:

Depends on #29895

CC: @fchapoton @tscrim

Component: user interface

Issue created by migration from https://trac.sagemath.org/ticket/17815

@rwst rwst added this to the sage-6.6 milestone Feb 20, 2015
@rwst
Copy link
Author

rwst commented Mar 22, 2015

comment:1

Wrong command! It should be set_verbose(-1).

@rwst rwst removed this from the sage-6.6 milestone Mar 22, 2015
@vbraun

This comment has been minimized.

@vbraun
Copy link
Member

vbraun commented Mar 22, 2015

comment:4

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'

@vbraun vbraun added this to the sage-6.6 milestone Mar 22, 2015
@vbraun vbraun changed the title cannot turn off plot warnings with verbose() Remove verbose from the global namespace Mar 22, 2015
@dkrenn
Copy link
Contributor

dkrenn commented Aug 30, 2016

comment:5

See also #21349.

@mkoeppe mkoeppe modified the milestones: sage-6.6, sage-9.2 Jun 18, 2020
@mkoeppe
Copy link
Member

mkoeppe commented Jun 18, 2020

Dependencies: #29895

@mkoeppe

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants