Message108650
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). |
|
Date |
User |
Action |
Args |
2010-06-25 23:35:32 | pitrou | set | recipients:
+ pitrou, terry.reedy, siona |
2010-06-25 23:35:32 | pitrou | set | messageid: <1277508932.15.0.547493685107.issue4963@psf.upfronthosting.co.za> |
2010-06-25 23:35:31 | pitrou | link | issue4963 messages |
2010-06-25 23:35:30 | pitrou | create | |
|