[SciPy-dev] pilutils bug

Travis Oliphant oliphant at ee.byu.edu
Thu Nov 10 21:42:06 EST 2005


John Byrnes wrote:

>Hello all,
>
>I've discovered a bug in the pilutils fromimage function.  
>
>On line 93 of Lib/utils/pilutil.py, arr.shape expects a tuple, apparently 
>it is not recieving one. I fixed it by casting the new shape to a tuple. I'm 
>sure there is a better way of fixing it, but this is what worked for me. 
>  
>
Thanks for the bug report.   I changed arr.shape setting to accept any 
sequence.

-Travis




More information about the SciPy-Dev mailing list