Antoine Pitrou <pit...@free.fr> added the comment: Can't reproduce under Mandriva Linux:
>>> import mimetypes >>> print(mimetypes.guess_extension('image/jpeg')) .jpe >>> mimetypes.init() >>> print(mimetypes.guess_extension('image/jpeg')) .jpe The fact that it returns ".jpe" rather than ".jpg", however, could be a bug in itself (since the latter will really be expected by everyone, not the former). ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4963> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com