This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients ammar2, toonn, xtreak
Date 2019-11-06.09:13:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573031602.04.0.756341228686.issue38656@roundup.psfhosted.org>
In-reply-to
Content
It seems that there is a list of files from which the mime types are also added at https://github.com/python/cpython/blob/5c0c325453a175350e3c18ebb10cc10c37f9595c/Lib/mimetypes.py#L42. "video/x-matroska" is not present in CPython repo's list of suffixes so it should be inferring from the list of known files. Can you please run the below script on 3.7.4 and 3.7.5 on the same machine? I am using Mac and 3.7.4 and 3.7.5 report video/x-matroska correctly.

import mimetypes
print(mimetypes.guess_type('E01.mkv'))
print(mimetypes.types_map['.mkv'])
History
Date User Action Args
2019-11-06 09:13:22xtreaksetrecipients: + xtreak, ammar2, toonn
2019-11-06 09:13:22xtreaksetmessageid: <1573031602.04.0.756341228686.issue38656@roundup.psfhosted.org>
2019-11-06 09:13:22xtreaklinkissue38656 messages
2019-11-06 09:13:21xtreakcreate