#11043: Lazily import plot.
------------------------+---------------------------------------------------
   Reporter:  robertwb  |          Owner:  jason     
       Type:  defect    |         Status:  needs_work
   Priority:  major     |      Milestone:  sage-4.7.2
  Component:  misc      |       Keywords:            
Work_issues:            |       Upstream:  N/A       
   Reviewer:            |         Author:            
     Merged:            |   Dependencies:            
------------------------+---------------------------------------------------
Changes (by was):

  * status:  needs_review => needs_work


Comment:

 Robert, did you even test this?   It seems to fail doctests all over the
 place.  E.g.,
 {{{
 sage -t  devel/sage/sage/calculus/riemann.pyx
 **********************************************************************
 File
 
"/mnt/usb1/scratch/wstein/sage-4.7.1-sage.math.washington.edu-x86_64-Linux/devel
 /sage-main/sage/calculus/riemann.pyx", line 114:
     sage: m = Riemann_Map([f, hf], [hf, hfprime], 0.5 + 0.5*I)
 Exception raised:
     Traceback (most recent call last):
       File
 
"/mnt/usb1/scratch/wstein/sage-4.7.1-sage.math.washington.edu-x86_64-Linux/local/bin/ncadoctest.p
 ...
 ImportError: No module named riemann
 }}}

 It seems like using LazyImport in any nontrivial way always results in
 serious breakage that is revealed by doctests.  I hit this numerous times
 myself.  Hmmm.

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