Author vstinner
Recipients barry, benjamin.peterson, genstein, georg.brandl, pitrou, vstinner
Date 2011-05-12.13:45:20
SpamBayes Score 0.0080689
Marked as misclassified No
Message-id <>
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:21vstinnersetrecipients: + vstinner, barry, georg.brandl, pitrou, benjamin.peterson, genstein
2011-05-12 13:45:20vstinnersetmessageid: <>
2011-05-12 13:45:20vstinnerlinkissue12062 messages
2011-05-12 13:45:20vstinnercreate