[issue1330] Fix truncate on Windows, this time for real

Guido van Rossum report at bugs.python.org
Fri Oct 26 19:21:45 CEST 2007


Guido van Rossum added the comment:

Committed revision 58673.

I made one change, hopefully I didn't screw it up: skip the positional
restore if the truncation itself failed.  Otherwise the positional
restore might overwrite the error from the truncation.  After an error
from this function they shouldn't make any assumptions about the
position anyway!

----------
resolution:  -> accepted
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1330>
__________________________________


More information about the Python-bugs-list mailing list