#15891: Make Ipython %run handle .sage files as .sage files, not .py files
--------------------------+----------------------------
Reporter: kcrisman | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.2
Component: interfaces | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
--------------------------+----------------------------
Make a file containing just `print 1/2`. Do `sage test1.sage` to get the
`test1.py` file in your directory. Then run Sage and do this:
{{{
sage: %run test1.sage
0
sage: %run test1.py
1/2
}}}
In my view, this should be the same as doing `sage test1.sage` in both
cases, though.
I'm putting this under interfaces because it's an IPython compatibility
thing, but if that's wrong, change it.
--
Ticket URL: <http://trac.sagemath.org/ticket/15891>
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/groups/opt_out.