Re: [Numpy-discussion] bug in fromiter - with patch

2008-09-26 Thread Russel Howe
Oops. I made a last minute change without re-running the tests. The tests refer to np.range, that should just be range. Corrected test attached. Russel Howe wrote: As of SVN from this morning, fromiter cannot create an array whose dtype is a byte type In [1]: np.fromiter(range(10), dtype=

[Numpy-discussion] bug in fromiter - with patch

2008-09-26 Thread Russel Howe
As of SVN from this morning, fromiter cannot create an array whose dtype is a byte type In [1]: np.fromiter(range(10), dtype='b') --- MemoryError Traceback (most recent call last) /Users/baxter