Jeffrey Kintscher <websur...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue37529> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com