[issue38449] regression - mimetypes guess_type is confused by ; in the filename

Yaroslav Halchenko report at bugs.python.org
Fri Oct 11 10:08:39 EDT 2019


Yaroslav Halchenko <yarikoptic at gmail.com> added the comment:

FWIW, our more complete test filename is 

# python3 -c 'import patoolib.util as ut; print(ut.guess_mime(r" \"\`;b&b&c |.tar.gz"))'
(None, None)

which works fine with older versions

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38449>
_______________________________________


More information about the Python-bugs-list mailing list