#3945: sage -gdb doesn't work (ipython related?)
--------------------+-------------------------------------------------------
Reporter: was | Owner: cwitty
Type: defect | Status: new
Priority: major | Milestone: sage-3.2
Component: misc | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Changes (by mabshoff):
* cc: mhansen (added)
Comment:
The following patchlet gets us a Python prompt, but this is obviously not
the real solution:
{{{
diff -r cdf30964f1fe sage-gdb-pythonstartup
--- a/sage-gdb-pythonstartup Tue Sep 30 16:55:34 2008 -0700
+++ b/sage-gdb-pythonstartup Tue Oct 07 15:21:02 2008 -0700
@@ -3,5 +3,5 @@
sys.argv = ['', '-rc', os.environ['IPYTHONRC'], \
'-c', os.environ['SAGE_STARTUP_COMMAND'] + '; banner()']
import IPython
-IPython.Shell.IPShell().mainloop(sys_exit=1, banner='')
+IPython.Shell.IPShell().mainloop(banner='')
}}}
Mike Hansen added to the CC.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3945#comment:3>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---