[Numpy-discussion] numpy.fromstring() : error handling ?

oc-spam66 oc-spam66@laposte....
Thu Aug 7 15:44:20 CDT 2008


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 ?


Python 2.5.2
Debian Lenny

 Créez votre adresse électronique prenom.nom@laposte.net 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080807/1ead3d99/attachment.html 

More information about the Numpy-discussion mailing list