This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kovid
Recipients Claudiu.Popa, ezio.melotti, intgr, jcea, joril, kovid, mvignali, r.david.murray, vstinner
Date 2014-06-22.03:39:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403408383.69.0.244189105327.issue16512@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-06-22 03:39:43kovidsetrecipients: + kovid, jcea, vstinner, ezio.melotti, r.david.murray, intgr, Claudiu.Popa, joril, mvignali
2014-06-22 03:39:43kovidsetmessageid: <1403408383.69.0.244189105327.issue16512@psf.upfronthosting.co.za>
2014-06-22 03:39:43kovidlinkissue16512 messages
2014-06-22 03:39:43kovidcreate