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 xiang.zhang
Recipients abacabadabacaba, docs@python, martin.panter, xiang.zhang
Date 2016-10-14.17:46:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The "compressed stream" is not the underlying file object but _GzipReader. And actually the "at most one single reader" is the characteristic of io.BufferedReader.peek, you can see it in the doc. Maybe it needs multiple reads on the file object in a single peek, but they are all encapsulated in the So at the point of GzipFile.peek, it's still a single read.
Date User Action Args
2016-10-14 17:46:47xiang.zhangsetrecipients: + xiang.zhang, abacabadabacaba, docs@python, martin.panter
2016-10-14 17:46:47xiang.zhangsetmessageid: <>
2016-10-14 17:46:47xiang.zhanglinkissue28445 messages
2016-10-14 17:46:47xiang.zhangcreate