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
pretty_print clobbers _ (history) #9683
Comments
comment:1
In the ipython
|
comment:2
Attachment: trac_9683.patch.gz I've posted a patch. It doesn't have a test for this problem. I could make one, but it's slightly annoying since you have to do everything indirectly through an IPython shell object. |
Author: Mike Hansen |
New commits:
|
Commit: |
Changed keywords from pretty_print, history to pretty_print, history, days57 |
Reviewer: Volker Braun |
Changed branch from u/vbraun/pretty_print_clobbers____history_ to |
After using
pretty_print
, the first history variable (_
) no longer updates.The relevant function seems to be
pretty_print
in/sage/misc/latex.py
, but I don't know the right way to fix it. The function andpretty_print_default
in same file, and the functionsdisplayhook
andinstall
in/sage/misc/displayhook.py
may also be relevant.CC: @mwhansen
Component: user interface
Keywords: pretty_print, history, days57
Author: Mike Hansen
Branch/Commit:
3cc45a8
Reviewer: Volker Braun
Issue created by migration from https://trac.sagemath.org/ticket/9683
The text was updated successfully, but these errors were encountered: