A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-September/091928.html below:

[Python-Dev] Fuzziness in io module specs

[Python-Dev] Fuzziness in io module specs [Python-Dev] Fuzziness in io module specsGreg 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4