]> granicus.if.org Git - python/commit
Issue #6629: Fix a data corruption issue in the new `io` package, which could
authorAntoine Pitrou <solipsis@pitrou.net>
Thu, 6 Aug 2009 20:18:29 +0000 (20:18 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Thu, 6 Aug 2009 20:18:29 +0000 (20:18 +0000)
commit20e1f932fa7cac639f59de75229088eb7e1286ac
tree04213adc23fe49445b426d7053a97a9d42fa029a
parent4a46e1c4b302bbb36cc9d418d6b9f6cf871a4d23
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.
Lib/test/test_io.py
Misc/NEWS
Modules/_io/bufferedio.c