#12719: Upgrade to IPython 0.13
--------------------------------------------------------------------------+-
Reporter: kini |
Owner: tbd
Type: enhancement |
Status: closed
Priority: critical |
Milestone: sage-5.7
Component: packages |
Resolution: fixed
Keywords: sd40.5 |
Work issues:
Report Upstream: N/A |
Reviewers: Volker Braun, Mike Hansen, Jason Grout, Jeroen Demeyer
Authors: Mike Hansen, Volker Braun, Jason Grout, Jeroen Demeyer |
Merged in: sage-5.7.beta1
Dependencies: #13459, #9191, #13717, #13963 |
Stopgaps:
--------------------------------------------------------------------------+-
Comment (by jdemeyer):
Volker Braun reports:
{{{
/mnt/storage2TB/patchbot/Sage/sage-5.7.beta1/local/lib/python2.7/site-
packages/sage/misc/sage_extension.pyc in
print_branch(self=<sage.misc.sage_extension.SageCustomizations object>)
423 def set_quit_hook(self):
424 """
425 Set the exit hook to cleanly exit Sage. This does not
work in all cases right now.
426 """
427 def quit(shell):
428 import sage
429 sage.all.quit_sage()
430 self.shell.set_hook('shutdown_hook', quit)
431
432 def print_branch(self):
433 """
434 Print the branch we are on currently
435 """
436 from sage.misc.misc import branch_current_hg_notice,
branch_current_hg
437 branch = branch_current_hg_notice(branch_current_hg())
--> 438 if branch and not self.shell.test_shell:
branch = 'Loading Sage library. Current Mercurial branch is: 0'
self.shell.test_shell = undefined
439 print branch
440
441 def init_environment(self):
442 """
443 Set up Sage command-line environment
444 """
445 try:
446 self.shell.run_cell('from sage.all import Integer,
RealNumber')
447 except Exception:
448 import traceback
449 print "Error importing the Sage library"
450 traceback.print_exc()
451 print
452 print "To debug this, you can run:"
453 print 'sage -ipython -i -c "import sage.all"'
AttributeError: 'SageInteractiveShell' object has no attribute
'test_shell'
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12719#comment:275>
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].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.