[Python-Dev] Fuzziness in io module specs
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Sep 20 10:33:33 CEST 2009
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.
--
Greg
More information about the Python-Dev
mailing list