#6494: sage should *never* ever import numpy by default on startup.  Yet again 
it
does!
----------------------+-----------------------------------------------------
 Reporter:  was       |       Owner:  mabshoff  
     Type:  defect    |      Status:  new       
 Priority:  major     |   Milestone:  sage-4.1.1
Component:  packages  |    Keywords:            
 Reviewer:            |      Author:            
   Merged:            |  
----------------------+-----------------------------------------------------
 {{{
 .bash-3.2$ ./sage -startuptime |grep numpy
            decorators_numpy: 0.000 (IPython.testing)
              numpy: 0.073 (complex_plot)
               numpy.__config__: 0.000 (numpy)
               version: 0.000 (numpy)
               _import_tools: 0.000 (numpy)
               add_newdocs: 0.047 (numpy)
                 numpy.version: 0.000 (lib)
                  numpy.core.numeric: 0.018 (type_check)
                   multiarray: 0.002 (numpy.core.numeric)
                   umath: 0.001 (numpy.core.numeric)
                    numpy.core.multiarray: 0.000 (umath)
                   _internal: 0.001 (numpy.core.numeric)
                   numerictypes: 0.002 (numpy.core.numeric)
                   _sort: 0.000 (numpy.core.numeric)
                   numeric: 0.004 (numpy.core.numeric)
                   defmatrix: 0.001 (numpy.core.numeric)
                   defchararray: 0.000 (numpy.core.numeric)
                   records: 0.001 (numpy.core.numeric)
                   memmap: 0.000 (numpy.core.numeric)
                   scalarmath: 0.001 (numpy.core.numeric)
                    numpy.core.umath: 0.000 (scalarmath)
                   numpy.testing: 0.004 (numpy.core.numeric)
                    decorators: 0.000 (numpy.testing)
                    utils: 0.003 (numpy.testing)
                    numpytest: 0.000 (numpy.testing)
                  numpy.core.numerictypes: 0.000 (index_tricks)
                   numpy.core.fromnumeric: 0.000 (function_base)
                   numpy.lib.shape_base: 0.000 (function_base)
                   numpy.lib.twodim_base: 0.000 (function_base)
                  numpy.core.defmatrix: 0.000 (index_tricks)
                  numpy.lib.type_check: 0.000 (scimath)
                  numpy.core: 0.000 (polynomial)
                  numpy.lib.getlimits: 0.001 (polynomial)
                   machar: 0.000 (numpy.lib.getlimits)
                  numpy.lib.function_base: 0.000 (polynomial)
                  numpy.linalg: 0.002 (polynomial)
                   linalg: 0.001 (numpy.linalg)
                    numpy.lib: 0.000 (linalg)
                   numpy.lib.utils: 0.000 (format)
                numpy.lib._compiled_base: 0.000 (add_newdocs)
                numpy.lib.index_tricks: 0.000 (add_newdocs)
               testing: 0.000 (numpy)
               core: 0.000 (numpy)
               fft: 0.002 (numpy)
               mtrand: 0.015 (numpy)
               ctypeslib: 0.001 (numpy)
                numpy.core._internal: 0.000 (ctypeslib)
               ma: 0.006 (numpy)
 0.073 numpy (complex_plot)
 }}}

 I think this is because of the new complex_plot module, which I think I
 positively reviewed, so this is my fault.  To resolve this ticket, make
 that import sufficiently lazy.  Also, make a doctest that verifies that
 numpy is not imported when Sage starts up.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6494>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to