[issue29468] zipfile should catch ValueError as well as OSError to detect bad seek calls

Filipe Laíns report at bugs.python.org
Mon May 24 14:42:06 EDT 2021


Filipe Laíns <lains at riseup.net> added the comment:

That would not stay true to its meaning. AFAIK there are no implied exceptions in file objects. Given the meaning of ValueError, I'd say it is appropriate here.

----------
nosy: +FFY00

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


More information about the Python-bugs-list mailing list