[SciPy-Dev] Is imresize() defined twice in scipy.misc.pilutil.py

Pauli Virtanen pav at iki.fi
Tue Jun 29 04:59:25 EDT 2010


Mon, 28 Jun 2010 19:51:51 -0500, Warren Weckesser wrote:
> Vincent Davis wrote:
>> Is imresize defined twice in  scipy.misc.pilutil.py or am i missing
>> something?
>
> Yup, and they were both added by travo about eight years ago (r521 and
> r545).  Hey Travis, what's up with that?

I guess something like that would be hard to remember :)

The two functions appear to have slightly different functionality. 
Nevertheless, perhaps it's just best to remove the first one (which is 
overridden by the second one). This looks pretty much like legacy stuff.

-- 
Pauli Virtanen




More information about the SciPy-Dev mailing list