[issue15547] Why do we have os.truncate() and os.ftruncate() whereas os.truncate() accepts a file descriptor?

Larry Hastings report at bugs.python.org
Fri Aug 3 20:57:37 CEST 2012


Larry Hastings added the comment:

Because both functions were available in 3.2, and we can't remove old functions without a full deprecation cycle.

----------
resolution:  -> wont fix
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15547>
_______________________________________


More information about the Python-bugs-list mailing list