#17942: save() should download files in the notebook
----------------------------------+------------------------
Reporter: vbraun | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.6
Component: user interface | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
----------------------------------+------------------------
Comment (by vbraun):
Just to clarify, save() should of course still save the file on the remote
file system. It just should **in addition** get the file to the client.
Tying it to the displayhook already gives you a means to control whether
or not the file is downloaded. Also, if you really just save a temporary
file on the server you are more likely to do that form within code so it
wouldn't be downloaded anyway. There could be other switches, maybe
`foo.save(download=False)` or %download [on|off]`. But just `foo.save()`
should by default do something sensible. If you don't like the default you
can then look into the docs. But if you only notice that `save()` doesn't
result in a file on your laptop then the user is going to assume that this
is the way it is.
--
Ticket URL: <http://trac.sagemath.org/ticket/17942#comment:3>
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.