Ezio Melotti added the comment:
Thanks for the patch.
> should I write one for 2.7 too?
Not necessary, 2.7 only gets bugs fixes.
OTOH it would be nice to have some tests for this new features (and for the
module in general), but there doesn't seem to be any Lib/test/test_imghdr.py
file. The module itself seems to contain some kind of tests at the end though.
components: +Library (Lib)
stage: needs patch -> patch review
versions: +Python 3.4 -Python 2.7
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list