Author lucifer
Recipients lucifer
Date 2009-12-31.08:11:21
SpamBayes Score 0.000120687
Marked as misclassified No
Message-id <1262247083.64.0.723829588215.issue7610@psf.upfronthosting.co.za>
In-reply-to
Content
open a file in the zip file through ZipFile.open method, if invoke read 
method after readline method in the ZipExtFile object, the data is not 
correct.

I was trying to get a ZipExtFile and pass it to pickle.load(f), a 
exception was thrown.

The reason is readline will keep a linebuffer, but read only use 
readbuffer. After invoke readline, there will be some missing data in 
linebuffer when invoke read method
History
Date User Action Args
2009-12-31 08:11:23lucifersetrecipients: + lucifer
2009-12-31 08:11:23lucifersetmessageid: <1262247083.64.0.723829588215.issue7610@psf.upfronthosting.co.za>
2009-12-31 08:11:22luciferlinkissue7610 messages
2009-12-31 08:11:21lucifercreate