Yves Frederix wrote:
> Hi,
>
> The latest svn version of numpy seems to be causing a segmentation fault
> when converting an array containing strings to floats using .astype().
> It only seems to happen when converting 'from' strings. Casting between
> numerical types and 'to' strings is no problem.
>
> :yves $ python -c "import numpy as N; print N.__version__; a =
> N.asarray('2'); a.astype(float);print 'OK';"
> 0.9.9.2844
> Segmentation fault
>
>
A bad attempt at allowing other threads to run is at fault. We can't
release the GIL for casting to and/or from strings....
This should be fixed now.
-Travis
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Numpy-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/numpy-discussion