Re: mimetypes oddity

2009-01-16 Thread Sion Arrowsmith
In article mailman.7301.1232043685.3487.python-l...@python.org, s...@pobox.com wrote: [mimetype weirdness reported] Sion Is this a bug? Might be. Can you file a bug report in the Python issue tracker with a small script that demonstrates the behavior? http://bugs.python.org/issue4963

Re: mimetypes oddity

2009-01-16 Thread Terry Reedy
Sion Arrowsmith wrote: In article mailman.7301.1232043685.3487.python-l...@python.org, s...@pobox.com wrote: [mimetype weirdness reported] Sion Is this a bug? Might be. Can you file a bug report in the Python issue tracker with a small script that demonstrates the behavior?

mimetypes oddity

2009-01-15 Thread Sion Arrowsmith
ge = mimetypes.guess_extension ge('image/jpeg') '.jpe' ge('image/jpeg') '.jpeg' I actually discovered this through explicitly calling mimetypes.init to reload an edited mime.types file between calls to guess_extension, but I think the above scenario makes for more disturbing reading 8-) The

Re: mimetypes oddity

2009-01-15 Thread skip
[mimetype weirdness reported] Sion Is this a bug? Might be. Can you file a bug report in the Python issue tracker with a small script that demonstrates the behavior? -- Skip Montanaro - s...@pobox.com - http://smontanaro.dyndns.org/ --