mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 11:45:56 -04:00
Add patch to work with ipython 3
This commit is contained in:
parent
cd0b7cec80
commit
caa1948e38
2 changed files with 21 additions and 1 deletions
13
sagemath-ipython3.patch
Normal file
13
sagemath-ipython3.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff -up src/sage/repl/display/formatter.py.orig src/sage/repl/display/formatter.py
|
||||
--- src/sage/repl/display/formatter.py.orig 2015-04-26 11:35:47.474617033 -0300
|
||||
+++ src/sage/repl/display/formatter.py 2015-04-26 11:36:17.859618196 -0300
|
||||
@@ -60,7 +60,8 @@ This other facility uses a simple
|
||||
#*****************************************************************************
|
||||
|
||||
|
||||
-from IPython.core.formatters import PlainTextFormatter, warn_format_error
|
||||
+from IPython.core.formatters import PlainTextFormatter
|
||||
+from IPython.core.formatters import catch_format_error as warn_format_error
|
||||
from IPython.utils.py3compat import str_to_unicode, unicode_to_str
|
||||
|
||||
from sage.repl.display.pretty_print import (
|
Loading…
Add table
Add a link
Reference in a new issue