New submission from lucifer <luyun...@yahoo.com.cn>:

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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7610>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to