Re: [sage-devel] load_ipython_extension()

2015-06-18 Thread Jeroen Demeyer

On 2015-06-17 17:40, William Stein wrote:

Also IPython is large and takes a long time to load.  In the past I've
often tried to keep IPython from loading by default if it isn't
needed, to reduce the startup time (similar to not importing numpy by
default).


Needs review at
http://trac.sagemath.org/ticket/18726

--
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] load_ipython_extension()

2015-06-17 Thread Jeroen Demeyer

Do we really need this line in src/sage/__init__.py

from sage.repl.ipython_extension import load_ipython_extension


This line forces *every use of Sage* to import IPython. In particular, 
it makes sage-download-file depend on IPython which is annoying since a 
broken IPython means no more downloads...


--
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] load_ipython_extension()

2015-06-17 Thread William Stein
On Wed, Jun 17, 2015 at 12:55 AM, Jeroen Demeyer jdeme...@cage.ugent.be wrote:
 Do we really need this line in src/sage/__init__.py

 from sage.repl.ipython_extension import load_ipython_extension


 This line forces *every use of Sage* to import IPython. In particular, it
 makes sage-download-file depend on IPython which is annoying since a broken
 IPython means no more downloads...

Also IPython is large and takes a long time to load.  In the past I've
often tried to keep IPython from loading by default if it isn't
needed, to reduce the startup time (similar to not importing numpy by
default).

William


 --
 You received this message because you are subscribed to the Google Groups
 sage-devel group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to sage-devel+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-devel.
 For more options, visit https://groups.google.com/d/optout.



-- 
William (http://wstein.org)

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.