[issue6939] shadows around the io truncate() semantics

Pascal Chambon report at bugs.python.org
Wed Jan 6 22:36:39 CET 2010


Pascal Chambon <chambon.pascal at gmail.com> added the comment:

Here is the new patch for py2.6, fixing (hopefully) all the truncate() methods.
Note that the python _BytesIO implementation isn't covered by the test suite, as it's shadowed by the C implementation ; but imo we shouldn't care : I've manually tested it once, and anyway the trunk sources don't have this problem.

----------
Added file: http://bugs.python.org/file15765/python26_full_truncate_patch.patch

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


More information about the Python-bugs-list mailing list