#7514: rewrite load and attach
---------------------------+------------------------------------------------
Reporter: was | Owner: tbd
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.3
Component: misc | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
---------------------------+------------------------------------------------
Changes (by was):
* status: new => needs_review
Old description:
New description:
The goal of this ticket is to rewrite the load and attach commands to
eliminate a lot of weirdness:
(1) they should both be usable as normal python functions, so people who
find the {{{load <...>}}} form and {{{attach <....>}}} forms weird, can
forget they exist. This also makes comprehensive doctesting way easier.
(2) it should be possible to do {{{load DIR+'file.sage'}}} say, and also
constructions like
{{{
for i in range(3):
load "setup%s.py"%i
}}}
The patches hopefully do the above and much more. They refactor all the
relevant code, document it way, way better, clean it up, and unify it
(there was tons of replication between the notebook and command line).
The notebook page (sagenb-7514.patch) is only needed if you use the
ntoebook, by the way.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7514#comment:1>
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=.