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
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?
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
[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/
--