#12719: Upgrade to IPython 0.13
----------------------------------------------------------+-----------------
Reporter: kini | Owner: tbd
Type: enhancement | Status:
needs_review
Priority: critical | Milestone:
sage-5.4
Component: packages | Resolution:
Keywords: sd40.5 | Work issues:
Report Upstream: N/A | Reviewers:
Volker Braun, Mike Hansen, Jason Grout
Authors: Mike Hansen, Volker Braun, Jason Grout | Merged in:
Dependencies: #13459 | Stopgaps:
----------------------------------------------------------+-----------------
Comment (by jason):
John, you know the doctest framework a lot better than I do. If you start
up sage-ipython and load the sage extension, it will install the display
hook, import Sage, etc. John, do you know how to get the doctest runner
to execute this as part of ipython:
`get_ipython().extension_manager.load_extension('sage.misc.sage_extension')`
{{{
grout@tiny:~/sage% sage -ipython -ic
"get_ipython().extension_manager.load_extension('sage.misc.sage_extension')"
E:128
Python 2.7.3 (default, Oct 9 2012, 11:53:24)
Type "copyright", "credits" or "license" for more information.
IPython 0.13 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: (identity_matrix(3), identity_matrix(5))
Out[1]:
(
[1 0 0 0 0]
[0 1 0 0 0]
[1 0 0] [0 0 1 0 0]
[0 1 0] [0 0 0 1 0]
[0 0 1], [0 0 0 0 1]
)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12719#comment:137>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.