[Numpy-tickets] [NumPy] #1005: numpy not working with itertools.chain objects

NumPy numpy-tickets@scipy....
Wed Feb 11 19:32:52 CST 2009

#1005: numpy not working with itertools.chain objects
 Reporter:  rogerbrent  |        Owner:  somebody
     Type:  defect      |       Status:  closed  
 Priority:  normal      |    Milestone:  1.3.0   
Component:  numpy.core  |      Version:  none    
 Severity:  normal      |   Resolution:  wontfix 
 Keywords:              |  
Changes (by rkern):

  * status:  new => closed
  * resolution:  => wontfix


 Generally, iterators are not supported as arguments to array(). Use
 fromiter() instead. There isn't a good way to implement array() to take
 iterators, too. fromiter() makes some assumptions in order to support this
 for 1D iterators of scalars, but array() cannot make these assumptions.

Ticket URL: <http://scipy.org/scipy/numpy/ticket/1005#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.

More information about the Numpy-tickets mailing list