Issue #6629: Fix a data corruption issue in the new `io` package, which could
commit5851256e0fdab80dc4054248194a62a9393f154b
authorantoine.pitrou <antoine.pitrou@6015fed2-1504-0410-9fe1-9d1591cc4771>
Thu, 6 Aug 2009 20:18:29 +0000 (6 20:18 +0000)
committerantoine.pitrou <antoine.pitrou@6015fed2-1504-0410-9fe1-9d1591cc4771>
Thu, 6 Aug 2009 20:18:29 +0000 (6 20:18 +0000)
tree4ad1a9fca901308f38edb57367dbda675db1a198
parent1121ff89b6940de8e382cc3442b14ac09d9bae72
Issue #6629: Fix a data corruption issue in the new `io` package, which could
occur when writing to a BufferedRandom object (e.g. a file opened in "rb+" or
"wb+" mode) after having buffered a certain amount of data for reading. This
bug was not present in the pure Python implementation.

Yes, this is a serious issue.

git-svn-id: http://svn.python.org/projects/python/trunk@74336 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/test/test_io.py
Misc/NEWS
Modules/_io/bufferedio.c