classification
Title: mimetypes.guess_extension('video/x-matroska') return wrong value
Type: behavior Stage: resolved
Components: 2to3 (2.x to 3.x conversion tool) Versions: Python 3.8
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: Saber Hayati, ammar2
Priority: normal Keywords:

Created on 2020-07-09 13:23 by Saber Hayati, last changed 2020-07-12 20:27 by ammar2. This issue is now closed.

Messages (2)
msg373402 - (view) Author: Saber Hayati (Saber Hayati) Date: 2020-07-09 13:23
Code:
import mimetypes
print(mimetypes.guess_extension('video/x-matroska'))
# return '.mpv' instead of '.mkv'

Python 3.8.3 on Linux
msg373570 - (view) Author: Ammar Askar (ammar2) * (Python triager) Date: 2020-07-12 20:27
This looks the same as issue38656, feel free to re-open if its not.
History
Date User Action Args
2020-07-12 20:27:08ammar2setstatus: open -> closed

nosy: + ammar2
messages: + msg373570

resolution: duplicate
stage: resolved
2020-07-09 13:23:34Saber Hayaticreate