#19029: doctest Python vs Sage ints
-------------------------------------+-------------------------------------
Reporter: vbraun | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.9
Component: user interface | Resolution:
Keywords: | Merged in:
Authors: Volker Braun | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/vbraun/doctest_python_vs_sage_ints|
fc16fc0273d6e1578c87d05521c373507df5bf3e
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Volker Braun', 'oldvalue': ''}):
* commit: => fc16fc0273d6e1578c87d05521c373507df5bf3e
* type: PLEASE CHANGE => enhancement
* component: PLEASE CHANGE => user interface
* author: => Volker Braun
Old description:
New description:
This patch changes how the display manager pretty-prints plain Python
integers:
{{{
sage: 1
1
sage: int(2)
int(2)
sage: len(['a', 'b', 'c'])
int(3)
sage: Set(['a', 'b', 'c', 'd']).cardinality()
4
}}}
--
Comment:
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=fc16fc0273d6e1578c87d05521c373507df5bf3e
fc16fc0]||{{{Distinguish Python integers from Sage integers}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/19029#comment:2>
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.