[New-bugs-announce] [issue41257] mimetypes.guess_extension('video/x-matroska') return wrong value

Saber Hayati report at bugs.python.org
Thu Jul 9 09:23:34 EDT 2020


New submission from Saber Hayati <saberhayati at gmail.com>:

Code:
import mimetypes
print(mimetypes.guess_extension('video/x-matroska'))
# return '.mpv' instead of '.mkv'

Python 3.8.3 on Linux

----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 373402
nosy: Saber Hayati
priority: normal
severity: normal
status: open
title: mimetypes.guess_extension('video/x-matroska') return wrong value
type: behavior
versions: Python 3.8

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


More information about the New-bugs-announce mailing list