Sage crashes if run with a new version of IPython

55 views
Skip to first unread message

Marc Culler

unread,
Nov 6, 2025, 12:22:29 PM (13 days ago) Nov 6
to sage-devel
The problem is that sage/repl/display/formatter.py uses the function:    IPython.utils.py3compat.unicode_to_str
which does not exist in the current IPython.

That function is a no-op in Python3.  (In Python2 it converts a unicode byte sequence to a python string.)  So it could be removed from formatter.py without causing any problems.

- Marc

Dima Pasechnik

unread,
Nov 6, 2025, 6:04:49 PM (13 days ago) Nov 6
to sage-...@googlegroups.com
It's already fixed, just not merged yet.
Reply all
Reply to author
Forward
0 new messages