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
Contributor

mkoeppe commented Jun 18, 2020

Dependencies: #29895

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe removed this from the sage-9.2 milestone Jun 18, 2020
mkoeppe added a commit to mkoeppe/sage that referenced this issue Apr 25, 2024
mkoeppe added a commit to mkoeppe/sage that referenced this issue Apr 27, 2024
vbraun pushed a commit to vbraun/sage that referenced this issue May 2, 2024
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->

Remove code deprecated in
- sagemath#32987 (2022)
- sagemath#33213 (2022)
- sagemath#29869 (2020)
- sagemath#17815 (2020)
- sagemath#29892 (2020)

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [ ] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#37868
Reported by: Matthias Köppe
Reviewer(s): Michael Orlitzky
@mantepse mantepse mentioned this issue May 10, 2024
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