#11812: traceback with load and attach of .sage files
-----------------------------------------+-------------------------------
Reporter: mstreng | Owner: jason
Type: defect | Status: closed
Priority: major | Milestone: sage-4.8
Component: misc | Resolution: fixed
Keywords: load attach traceback | Merged in: sage-4.8.alpha0
Authors: Marco Streng | Reviewers: Johan Bosman
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-----------------------------------------+-------------------------------
Comment (by mstreng):
Replying to [comment:20 jdemeyer]:
> Replying to [ticket:11812 mstreng]:
> > The patch fixes this for attach, but not for load (because of
efficiency reasons).
>
> What exactly are these "efficiency reasons"?
With a temporary file, there is a good traceback, but working with files
can be slow. When precompiling in memory, it is faster, but that is not
implemented in a way that yields good tracebacks.
> Are people really executing `load` or `attach` in tight loops?
I can't imagine that anyone would do that.
> I think that one should '''always''' have good tracebacks, so I would
always use temporary files.
I completely agree. However, it seemed during the original discussion that
I was the only one who always wanted good tracebacks. And someone made the
switch to memory on purpose, for efficiency reasons.
--
Ticket URL: <http://trac.sagemath.org/ticket/11812#comment:21>
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/d/optout.