#978: [with patch] bug in Sequence __str__ method
------------------------------------+--------------------------
Reporter: was | Owner: somebody
Type: defect | Status: closed
Priority: major | Milestone: sage-2.8.9
Component: basic arithmetic | Resolution: fixed
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
------------------------------------+--------------------------
Changes (by chapoton):
* upstream: => N/A
Old description:
> {{{
> Andrey Novoseltsev
> Dear William,
>
> I have printing issues with sequences, cr parameter is not processed
> correctly
> when it is False:
>
> sage: s = Sequence([1,2,3], cr=False)
> sage: s
> [1, 2, 3]
> sage: print s, str(s), repr(s)
> [
> 1,
> 2,
> 3
> ] [
> 1,
> 2,
> 3
> ] [1, 2, 3]
> sage: s = Sequence([1,2,3], cr=True)
> sage: s
> [
> 1,
> 2,
> 3
> ]
> sage: print s, str(s), repr(s)
> [
> 1,
> 2,
> 3
> ] [
> 1,
> 2,
> 3
> ] [
> 1,
> 2,
> 3
> ]
>
> I get this both under notebook and command line and it is somewhat
> unpleasant.
>
> Thank you,
> }}}
New description:
{{{
Andrey Novoseltsev
Dear William,
I have printing issues with sequences, cr parameter is not processed
correctly
when it is False:
sage: s = Sequence([1,2,3], cr=False)
sage: s
[1, 2, 3]
sage: print s, str(s), repr(s)
[
1,
2,
3
] [
1,
2,
3
] [1, 2, 3]
sage: s = Sequence([1,2,3], cr=True)
sage: s
[
1,
2,
3
]
sage: print s, str(s), repr(s)
[
1,
2,
3
] [
1,
2,
3
] [
1,
2,
3
]
I get this both under notebook and command line and it is somewhat
unpleasant.
Thank you,
}}}
--
--
Ticket URL: <http://trac.sagemath.org/ticket/978#comment:3>
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.