[issue4957] os.ftruncate raises IOError instead of OSError

Benjamin Peterson report at bugs.python.org
Fri Jan 16 02:57:43 CET 2009


Benjamin Peterson <benjamin at python.org> added the comment:

+1 for renaming. Although it looks like it has been this way since the
beginning, the examples of os.ftruncate I found didn't seem to rely on
this behavior. In addition, I think this is a small price to pay for
good consistency. [1]

[1] http://google.com/codesearch?hl=en&sa=N&q=lang:python+os.ftruncate

----------
nosy: +benjamin.peterson

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


More information about the Python-bugs-list mailing list