-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
move sage.misc.misc.*verbose* to new module sage.misc.verbose #29895
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:3
We can reuse some of the commits of #21349 for this ticket. |
Author: Daniel Krenn, Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
comment:7
The branch does not work yet because it the moved functions depend on Last 10 new commits:
|
Commit: |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
The remaining patchbot plugin warnings are old news. Needs review. |
comment:13
LGTM. |
Reviewer: Travis Scrimshaw |
comment:14
Thank you! |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
comment:17
Merge conflict |
Dependencies: #29892 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:20
Trivial merge to resolve conflict |
comment:21
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed reviewer from Travis Scrimshaw to Travis Scrimshaw, Markus Wageringel |
comment:24
The fix looks good to me and the bot is green. |
comment:25
Thanks! |
Changed branch from u/mkoeppe/move_sage_misc_misc__verbose__to_new_module_sage_misc_verbose to |
The "simple verbosity system" in
sage.misc.misc
has 2 global variables,LEVEL
andverbose_files
, which are meant to be internal.Access is through functions
verbose
,set_verbose
,set_verbose_files
,get_verbose_files
,unset_verbose_files
,get_verbose
, all of which are imported bysage.misc.all
.Only
verbose
andget_verbose
are used in sagelib.Additionally,
set_verbose
is used in doctests of sagelib.We move the functions to a new module
sage.misc.verbose
, withlazy_import
and deprecation. This is preparation for #21349, and is also helpful for #29865 (modularization).We also add some documentation taken from #21349.
We also deprecate the import of
verbose
intosage.misc.all
as proposed in #17815.See also:
Depends on #29892
CC: @fchapoton @tscrim @dkrenn @mwageringel
Component: refactoring
Author: Daniel Krenn, Matthias Koeppe
Branch/Commit:
8d7609e
Reviewer: Travis Scrimshaw, Markus Wageringel
Issue created by migration from https://trac.sagemath.org/ticket/29895
The text was updated successfully, but these errors were encountered: