[issue33173] GzipFile's .seekable() returns True even if underlying buffer is not seekable

Cheryl Sabella report at bugs.python.org
Fri Oct 5 21:04:28 EDT 2018


Cheryl Sabella <cheryl.sabella at gmail.com> added the comment:

Allowing for non seekable files was added in issue1675951.  And under that issue in msg117131, the author of the change wrote:
"The patch creates another problem with is not yet fixed: The implementation of .seekable() is becoming wrong. As one can now use non seekable files the implementation should check if the file object used for reading is really seekable."

issue23529 made significant changes to the code and seekable() is again mentioned in msg239245 and subsequent comments.

Nosying the devs who worked on those issues.

----------
nosy: +cheryl.sabella, martin.panter, pitrou
versions: +Python 3.8 -Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33173>
_______________________________________


More information about the Python-bugs-list mailing list