[SciPy-dev] exception in 'flatten()'

Travis Oliphant oliphant.travis at ieee.org
Fri Dec 16 19:27:34 CST 2005


Stephen Walton wrote:

>Lisandro Dalcin wrote:
>
>  
>
>>Using the last release from SourceForge...
>>
>>[dalcinl at trantor dalcinl]$ python
>>Python 2.4.2 (#1, Nov  7 2005, 16:51:05)
>>[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] on linux2
>>Type "help", "copyright", "credits" or "license" for more information.
>> 
>>
>>    
>>
>>>>>from scipy.base import *
>>>>        
>>>>
>>>>>a = arange(10)
>>>>>a.flatten()
>>>>>       
>>>>>
>>>>>          
>>>>>
>>Traceback (most recent call last):
>> File "<stdin>", line 1, in ?
>>SystemError: error return without exception set
>> 
>>
>>    
>>
>I can't reproduce this here, I'm afraid (Fedora Core 4, gcc4).
>
>  
>
It was there but I fixed it in SVN.  Sorry I didn't comment.   Very 
silly misplaced return NULL;

-Travis




More information about the Scipy-dev mailing list