-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
Fix global import of sage.repl.rich_output.display_manager.get_display_manager #33016
Comments
Commit: |
New commits:
|
Author: Matthias Koeppe |
comment:3
I have used this function only for testing. But it seems people use get_display_manager to set display preferences in jupyter. It would be inconvenient if it should be imported first from an obscure place. |
This comment has been minimized.
This comment has been minimized.
comment:6
Here's a new version |
comment:7
Perhaps we still need a deprecation warning about the change of import location? |
Reviewer: Kwankyu Lee |
comment:9
Replying to @kwankyu:
I'd say we don't, according to the leak theory |
comment:10
Replying to @mkoeppe:
Sorry, but what is the leak theory? One argument for no deprecation warning might be that we already made an announcement that no library code should import from |
comment:12
Replying to @kwankyu:
I still don't know the leak theory. But I now agree that we don't need a deprecation warning. |
comment:13
Thanks! |
This function leaks in via
sage.interfaces.all
.Since it is being used in doctest, we import it properly through
sage.repl.all
.CC: @egourgoulhon
Component: user interface
Author: Matthias Koeppe
Branch/Commit:
d6cf9f6
Reviewer: Kwankyu Lee
Issue created by migration from https://trac.sagemath.org/ticket/33016
The text was updated successfully, but these errors were encountered: