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 terry.reedy
Recipients siona, terry.reedy
Date 2009-01-16.16:40:58
SpamBayes Score 0.019634403
Marked as misclassified No
Message-id <1232124059.61.0.218128264298.issue4963@psf.upfronthosting.co.za>
In-reply-to
Content
3.0, WinXP
import mimetypes
print(mimetypes.guess_extension('image/jpeg'))
mimetypes.init()
print(mimetypes.guess_extension('image/jpeg'))
gives
.jpe
.jpe

I wonder at this answer since .jpg and occasionally .jpeg is standard in
Windows usage, but the doc is unclear to me as to the actual intent of
the function.
History
Date User Action Args
2009-01-16 16:40:59terry.reedysetrecipients: + terry.reedy, siona
2009-01-16 16:40:59terry.reedysetmessageid: <1232124059.61.0.218128264298.issue4963@psf.upfronthosting.co.za>
2009-01-16 16:40:59terry.reedylinkissue4963 messages
2009-01-16 16:40:58terry.reedycreate