#14375: Indicate escape codes in doctest output
-------------------------------------+--------------------------------------
Reporter: jdemeyer | Owner: roed
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.9
Component: doctest framework | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Volker Braun | Merged in:
Dependencies: | Stopgaps:
-------------------------------------+--------------------------------------
Comment (by jdemeyer):
Replying to [comment:18 vbraun]:
> Right now its byte strings.
Which simply means that the encoding is "undefined". It's not the opposite
of UTF-8. It's maybe UTF-8, maybe something else.
> Once we switch to unicode
"We" already partially switched to UTF-8: Sage source files are UTF-8 and
some terminals (more and more these days) use UTF-8 encoding by default.
> At no point is it a good idea to match for UTF-8 encoded escape
sequences imho.
Fair enough, but I think matching literal `\x9b` bytes is even worse.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14375#comment:22>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.