#6494: sage should *never* ever import numpy by default on startup.  Yet again 
it
does!
---------------------------+------------------------------------------------
   Reporter:  was          |       Owner:  mabshoff    
       Type:  defect       |      Status:  needs_review
   Priority:  major        |   Milestone:  sage-4.5.3  
  Component:  packages     |    Keywords:              
     Author:  Mike Hansen  |    Upstream:  N/A         
   Reviewer:               |      Merged:              
Work_issues:               |  
---------------------------+------------------------------------------------
Changes (by newvalueoldvalue):

 * cc: was (added)
  * status:  new => needs_review
  * upstream:  => N/A
  * author:  => Mike Hansen


Comment:

 I don't think you can cimport numpy without causing an import in the
 module.  Thus, a number of things have to be lazily imported.  This will
 cause a problem if people do

 {{{
 sage: from sage.finance.all import TimeSeries
 sage: isinstance(foo, TimeSeries)
 }}}

 since TimeSeries will be a LazyImport object rather than a class.  I'm not
 sure the best thing to do, but I've posted a patch anyway.

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

Reply via email to