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 Walt Askew, cheryl.sabella, martin.panter, pitrou, serhiy.storchaka, xtreak
Date 2018-11-09.08:45:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1541753128.77.0.788709270274.issue33173@psf.upfronthosting.co.za>
In-reply-to
Content
I share Martin's opinion that this is a misfeature. User code can check seekable() and use seek() if it returns True or cache necessary data in memory if it returns False, because it is expected that seek() is more efficient. But in case of GzipFile it is not efficient, and can lead to decompression the whole content of the file and to much worse performance.
History
Date User Action Args
2018-11-09 08:45:28serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, martin.panter, cheryl.sabella, Walt Askew, xtreak
2018-11-09 08:45:28serhiy.storchakasetmessageid: <1541753128.77.0.788709270274.issue33173@psf.upfronthosting.co.za>
2018-11-09 08:45:28serhiy.storchakalinkissue33173 messages
2018-11-09 08:45:28serhiy.storchakacreate