[issue19997] imghdr.what doesn't accept bytes paths

Claudiu.Popa report at bugs.python.org
Sat Feb 22 10:21:45 CET 2014


Claudiu.Popa added the comment:

Patch updated. It removes the check added in http://hg.python.org/cpython/rev/94813eab5a58 and simplifies the test for bytes file path.

----------
Added file: http://bugs.python.org/file34181/imghdr_bytes_2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19997>
_______________________________________


More information about the Python-bugs-list mailing list