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 nadeem.vawda
Recipients dabeaz, nadeem.vawda, pitrou, python-dev, serhiy.storchaka
Date 2012-08-05.12:11:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344168695.15.0.281133921723.issue15546@psf.upfronthosting.co.za>
In-reply-to
Content
Before these fixes, it looks like all three classes' peek() methods were susceptible
to the same problem as read1().

The fixes for BZ2File.read1() and LZMAFile.read1() should have fixed peek() as well;
both methods are implemented in terms of _fill_buffer().

For GzipFile, peek() is still potentially broken - I'll push a fix shortly.
History
Date User Action Args
2012-08-05 12:11:35nadeem.vawdasetrecipients: + nadeem.vawda, pitrou, dabeaz, python-dev, serhiy.storchaka
2012-08-05 12:11:35nadeem.vawdasetmessageid: <1344168695.15.0.281133921723.issue15546@psf.upfronthosting.co.za>
2012-08-05 12:11:34nadeem.vawdalinkissue15546 messages
2012-08-05 12:11:34nadeem.vawdacreate