This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Arfrever, Michael.Fox, nadeem.vawda, pitrou, rhettinger, serhiy.storchaka, vstinner
Date 2013-05-20.17:32:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369071159.69.0.784405062464.issue18003@psf.upfronthosting.co.za>
In-reply-to
Content
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().
History
Date User Action Args
2013-05-20 17:32:39serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, pitrou, vstinner, nadeem.vawda, Arfrever, Michael.Fox
2013-05-20 17:32:39serhiy.storchakasetmessageid: <1369071159.69.0.784405062464.issue18003@psf.upfronthosting.co.za>
2013-05-20 17:32:39serhiy.storchakalinkissue18003 messages
2013-05-20 17:32:39serhiy.storchakacreate