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 <rep...@bugs.python.org> <http://bugs.python.org/issue16512> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com