#10622: import sage.all.* into the interact library
---------------------------+------------------------------------------------
Reporter: jason | Owner: itolkov, jason
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.6.2
Component: interact | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
This patch:
{{{
diff -r 553928e53141 sage/interacts/library.py
--- a/sage/interacts/library.py Mon Jan 10 10:03:25 2011 +0100
+++ b/sage/interacts/library.py Thu Jan 13 09:01:40 2011 -0800
@@ -3,9 +3,9 @@
"""
from sagenb.notebook.interact import interact, slider, range_slider,
input_box
-from sage.all import sin, plot, point, html, show, latex, SR,exp
-x=SR.var('x')
-
+from sage.all import *
+x=var('x')
+
from sage.misc.decorators import sage_wraps
from sage.misc.html import html
}}}
makes it *much* easier to move interacts to the library since you don't
have to define every single thing you use from the sage library.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10622>
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=en.