[issue37529] Mimetype module duplicates
Jeffrey Kintscher
report at bugs.python.org
Tue Jul 16 16:10:32 EDT 2019
Jeffrey Kintscher <websurfer at surf2c.net> added the comment:
This appears to have been fixed by issue #4963 and backported to the 3.7 and 3.8 branches:
Python 3.7.4+ (heads/3.7-dirty:e7bec26937, Jul 16 2019, 12:53:26)
[Clang 10.0.1 (clang-1001.0.46.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mimetypes
>>> mimetypes.guess_extension('image/bmp')
'.bmp'
>>> mimetypes.guess_extension('image/x-ms-bmp')
'.bmp'
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37529>
_______________________________________
More information about the Python-bugs-list
mailing list