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

Vincent Davis vincent@vincentdavis....
Sat Jul 3 12:26:32 CDT 2010


Posted a ticket for this.
Ticket #1221 (new defect)
http://projects.scipy.org/scipy/ticket/1221

Vincent

On Tue, Jun 29, 2010 at 2:59 AM, Pauli Virtanen <pav@iki.fi> wrote:
> 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
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>


More information about the SciPy-Dev mailing list