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 corona10
Recipients _savage, corona10, vstinner
Date 2019-08-31.14:41:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567262462.3.0.0315542742403.issue37943@roundup.psfhosted.org>
In-reply-to
Content
It works well on the master branch version but also the latest 3.7 branch
I think that we can close this issue for `.jpe` issue if we don't have to support "image/jpg" case.


Python 3.9.0a0 (heads/master:daa82d019c, Aug 31 2019, 23:37:00)
[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/jpg")
>>> mimetypes.guess_extension("image/jpeg")
'.jpg'

Python 3.7.4+ (heads/3.7:9a28400aac, Aug 31 2019, 23:34:02)
[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/jpg")
>>> mimetypes.guess_extension("image/jpeg")
'.jpg'
History
Date User Action Args
2019-08-31 14:41:02corona10setrecipients: + corona10, vstinner, _savage
2019-08-31 14:41:02corona10setmessageid: <1567262462.3.0.0315542742403.issue37943@roundup.psfhosted.org>
2019-08-31 14:41:02corona10linkissue37943 messages
2019-08-31 14:41:02corona10create