#11235: Make the ipython edit magic command edit the right file and show both
files
when doing ??
------------------------+---------------------------------------------------
Reporter: mderickx | Owner: jason
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.8
Component: misc | Keywords: sd35 ipython source file location
Work_issues: | Upstream: N/A
Reviewer: | Author: Maarten Derickx
Merged: | Dependencies:
------------------------+---------------------------------------------------
Changes (by mstreng):
* keywords: => sd35 ipython source file location
Comment:
Which Sage version did you test this on? I installed the spkg, then the
patch, and the patch gave me:
{{{
10:10:22:~/sage-4.8.alpha4/devel/sage$ hg qpush
applying IPython-edit.patch
patching file sage/misc/edit_module.py
Hunk #1 FAILED at 39
1 out of 3 hunks FAILED -- saving rejects to file
sage/misc/edit_module.py.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working dir
errors during apply, please fix and refresh IPython-edit.patch
10:10:54:~/sage-4.8.alpha4/devel/sage$ cat sage/misc/edit_module.py.rej
--- edit_module.py
+++ edit_module.py
@@ -40,6 +40,8 @@
import inspect
import os
import sys
+import re
+import IPython
from string import Template
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11235#comment:12>
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.