#18302: Deprecate / warn against show()
--------------------------+------------------------
Reporter: vbraun | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.7
Component: misc | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------+------------------------
Comment (by vbraun):
Since the current interacts don't work at all with the IPython notebook we
could just keep the old behavior in @interact on SageNB / !SageCell. Its
somewhat unsatisfactory as it doesn't give you a way to move forward.
There could be a switch `@interact(old_show=False)` though. In any case we
need some decision about what to do with interacts in the IPython
notebook, and we should probably use IPython's own machinery for
interacts.
Another solution would be as I suggested in #18292, have every top-level
statement in an @interact-function show its rich output. Then you don't
need to call show / pretty_print in the first place. But if you did then
that would be ok, too, as it returns `None` and then the result of the
statement isn't displayed.
--
Ticket URL: <http://trac.sagemath.org/ticket/18302#comment:5>
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.