[Numpy-discussion] should a flatiter object get a 'dtype' attribute ?

Sebastian Haase haase at msg.ucsf.edu
Thu Aug 24 13:01:20 CDT 2006

I suppose the answer is no .
But converting more code to numpy I got this error
AttributeError: 'numpy.flatiter' object has no attribute 'dtype'
(I found that I did not need the .flat in the first place )
So I was just wondering if (or how much) a  flatiter object should behave like
an ndarray ?

Also this is an opportunity to have some talk about the relative newcomer 
"flatiter generator objects" ...

- Sebastian Haase

More information about the Numpy-discussion mailing list