Message329505
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. |
|
Date |
User |
Action |
Args |
2018-11-09 08:45:28 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, martin.panter, cheryl.sabella, Walt Askew, xtreak |
2018-11-09 08:45:28 | serhiy.storchaka | set | messageid: <1541753128.77.0.788709270274.issue33173@psf.upfronthosting.co.za> |
2018-11-09 08:45:28 | serhiy.storchaka | link | issue33173 messages |
2018-11-09 08:45:28 | serhiy.storchaka | create | |
|