[Python-Dev] Fuzziness in io module specs
MRAB
python at mrabarnett.plus.com
Sun Sep 20 14:59:20 CEST 2009
Greg Ewing wrote:
> Pascal Chambon wrote:
>
>> Concerning the naming of truncate(), would it be possible to
>> deprecate it and alias it to "resize()" ? It's not very gratifying to
>> have duplicated methods at the beginning of a major release, but I
>> feel too that "truncate" is a misleading term, that had better be
>> replaced asap.
>
> There's something to be said for that, but there's also
> something to be said for following established conventions,
> and there's a long-established precedent from the C library
> for having a function called truncate() that behaves this
> way.
>
But Python isn't C. :-)
More information about the Python-Dev
mailing list