1.0rc2: imag attribute of numpy.float64 causes segfault

Travis Oliphant oliphant.travis at ieee.org
Tue Oct 10 04:54:52 EDT 2006


Peter Bienstman wrote:
> This is on an AMD64 platform:
>
> Python 2.4.3 (#1, Sep 27 2006, 14:14:48)
> [GCC 4.1.1 (Gentoo 4.1.1)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>   
>>>> import numpy
>>>> print numpy.__version__
>>>>         
> 1.0rc2
>   
>>>> a = numpy.float64(1.0)
>>>> a
>>>>         
> 1.0
>   
>>>> a.real
>>>>         
> 1.0
>   
>>>> a.imag
>>>>         
> Segmentation fault
>
>   
Thanks for the test.   Fixed in SVN r3299

-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




More information about the NumPy-Discussion mailing list