[issue29817] File IO r+ read, write, read causes garbage data write.

Paul Moore report at bugs.python.org
Wed Mar 15 10:32:25 EDT 2017


Paul Moore added the comment:

Also, this is a Python 2 only issue. The problem doesn't happen in Python 3.6 (at least in my quick experiment). I'm not 100% sure if this is because the internal implementation of IO changed in 3.x, or if it's just because we're now using a newer CRT which has fixed the issue.

I agree that there's no point in Python trying to work around this behaviour.

----------
resolution:  -> third party

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


More information about the Python-bugs-list mailing list