#10948: Calling point on an iterator of 3d points raises an AttributeError
------------------------+---------------------------------------------------
   Reporter:  slabbe    |          Owner:  jason, was     
       Type:  defect    |         Status:  new            
   Priority:  major     |      Milestone:  sage-4.7.1     
  Component:  graphics  |       Keywords:                 
Work_issues:            |       Upstream:  N/A            
   Reviewer:            |         Author:  Sébastien Labbé
     Merged:            |   Dependencies:                 
------------------------+---------------------------------------------------
Changes (by newvalueoldvalue):

  * author:  => Sébastien Labbé


Comment:

 Hmm, that is very subtle!
 {{{

 sage: A = ((i,i) for i in range(10))
 sage: type(A)
 <type 'generator'>
 sage: point(A)
 <plots nicely>
 sage: A.next()
 --------------------------------------------------------------------
 StopIteration:
 }}}
 Yeah, that's not a bad idea.  Usually people wouldn't do this, but I can
 certainly see it happening.

 On the other hand, if it slows the process of getting this fix in, we
 should probably open a different ticket for that.

 So it's up to you.  If you feel motivated to add this right now, then do
 it and the whole thing can be reviewed.  Otherwise, set this to 'needs
 review' and open another ticket for that.

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