#19855: "Möbius": always use moebius instead of mobius
-------------------------------------+-------------------------------------
Reporter: jmantysalo | Owner:
Type: defect | Status: needs_work
Priority: minor | Milestone: sage-7.1
Component: misc | Resolution:
Keywords: | Merged in:
Authors: Jori Mäntysalo | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jmantysalo/ascii_version_of__m_bius___mobius_or_moebius_|
78da6269b65115766f240cee111622b8832976c0
Dependencies: #19879 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by tscrim):
Replying to [comment:41 jmantysalo]:
> Replying to [comment:40 tscrim]:
> > Replying to [comment:39 jmantysalo]:
> > > Replying to [comment:38 tscrim]:
> > > > We should also avoid unicode in strings (at least until we switch
to Python3).
> > >
> > > Why?
> > >
> > > (Maybe the answer should go to sage-devel instead of one ticket.)
> >
> > Python 2 strings are not unicode by default (which is changed in
Python 3), so this can cause output problems (in particular, for those
rare terminals that do not support unicode).
>
> ?? But in sage-devel there has been discussion about this. I think that
it was said that we can assume unicode support.
This is what I get:
{{{
sage: s = "ü"
sage: s
'\xc3\xbc'
}}}
Granted, this is fixed by doing `print s`, and we have the same behavior
for `s = u"ü"`. Yet most output does not occur with a print statement.
--
Ticket URL: <http://trac.sagemath.org/ticket/19855#comment:42>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.