#17418: IPython master compatibility: remove _safe_repr()
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_work
Priority: minor | Milestone: sage-6.5
Component: user interface | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/ticket/17418 | 8a0e1929fb2c461a1d7bde5b17c82d9dd01c1363
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Description changed by jdemeyer:
Old description:
> IPython upstream decided to replace `_safe_repr()` with plain `repr()`:
> [https://github.com/ipython/ipython/commit/ee5477092243c6994ec021dc5d98b773d99ef7f2]
>
> Since we'll probably upgrade to IPython 3.0.0 sooner or later, let's make
> this change in Sage now.
New description:
IPython upstream decided to replace `_safe_repr()` with plain `repr()`:
[https://github.com/ipython/ipython/commit/ee5477092243c6994ec021dc5d98b773d99ef7f2]
Since we'll probably upgrade to IPython 3.0.0 sooner or later, let's make
remove the use of `_safe_repr()` in Sage now. Due to Sage's use of
`warn_format_error`, it's better to re-implement `_safe_repr()` in Sage
instead of simply replacing `_safe_repr()` by `repr()`.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/17418#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.