Serhiy Storchaka added the comment:

Wrapping a raw LZMAFile in a BufferedReader is a simple solution. But I think 
about extending BufferedReader so that LZMAFile and BufferedReader could use a 
common buffer. Perhaps add a new method to BufferedIOBase which will be called 
when a buffer is underflowed. In BufferedIOBase it should call raw.read(), in 
LZMAFile it should call _fill_buffer().

----------

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

Reply via email to