[SciPy-dev] pilutils bug
Travis Oliphant
oliphant at ee.byu.edu
Thu Nov 10 20:42:06 CST 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