[Numpy-discussion] numpy.fromstring() : error handling ?
Pauli Virtanen
pav at iki.fi
Thu Aug 7 17:34:13 EDT 2008
Thu, 07 Aug 2008 22:44:20 +0200, oc-spam66 wrote:
> Hello,
>
> the following code drives python into an endless loop :
>
>>>> import numpy
>>>> numpy.fromstring("abcd", dtype = float, sep = ' ')
>
> I think the function numpy.fromstring is lacking an adequate error
> handling for that case.
>
> Is it a bug ?
It was fixed in r5438 and the fix is also in Numpy 1.1.1.
--
Pauli Virtanen
More information about the NumPy-Discussion
mailing list