[issue16512] imghdr doesn't recognize variant jpeg formats
Kovid Goyal
report at bugs.python.org
Sun Jun 22 05:39:43 CEST 2014
Kovid Goyal added the comment:
You cannot assume the file like object passed to imghdr is seekable. And IMO it is not the job of imghdr to check file validity, especially since it does not do that for all formats.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16512>
_______________________________________
More information about the Python-bugs-list
mailing list