[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

Christoph Zwerschke report at bugs.python.org
Thu Jun 5 11:59:12 CEST 2014


Christoph Zwerschke added the comment:

After this patch, some of the values in mimetypes.types_map now appear as unicode instead of str in Python 2.7.7 under Windows. For compatibility and consistency reasons, I think this should be fixed so that all values are returned as str again under Python 2.7.

See https://groups.google.com/forum/#!topic/pylons-devel/bq8XiKlGgv0 for a real world issue which I think is caused by this bugfix.

----------
nosy: +cito

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


More information about the Python-bugs-list mailing list