id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	work_issues	upstream	reviewer	author	merged	dependencies	stopgaps
10478	line() does not accept iterators	ddrake	jason, was	"The {{{line()}}} function fails when given an iterator:
{{{
sage: line(iter([(0,0), (1,0), (2,2)]))
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
[...]
/opt/sage/local/lib/python2.6/site-packages/sage/plot/plot.pyc in xydata_from_point_list(points)
   2529             pass
   2530     
-> 2531     if len(points)>0 and len(list(points[0]))!=2:
   2532         raise ValueError, ""points must have 2 coordinates in a 2d line""
   2533 

TypeError: object of type 'listiterator' has no len()
}}}
"	enhancement	closed	major	sage-4.6.2	graphics	fixed	line plot iterator			N/A	Robert Bradshaw	Dan Drake	sage-4.6.2.alpha1		
