Message135834
open("test.bin", "w+b", buffering=-1) creates a
BufferedRandom object. In the _pyio module, BufferedRandom overrides the write() method to "undo readahead", whereas the _io module reuses bufferedwriter_write() for bufferedrandom_methods and bufferedwriter_methods.
I suppose that the problem is "just" that _io.BufferedRandom.write() doesn't undo readahead. |
|
Date |
User |
Action |
Args |
2011-05-12 13:45:21 | vstinner | set | recipients:
+ vstinner, barry, georg.brandl, pitrou, benjamin.peterson, genstein |
2011-05-12 13:45:20 | vstinner | set | messageid: <1305207920.94.0.792352031022.issue12062@psf.upfronthosting.co.za> |
2011-05-12 13:45:20 | vstinner | link | issue12062 messages |
2011-05-12 13:45:20 | vstinner | create | |
|