[issue1043134] mimetypes.guess_extension('text/plain') == '.ksh' ???
Chris Lambacher
report at bugs.python.org
Sat Nov 20 23:25:45 CET 2010
Chris Lambacher <chris at kateandchris.net> added the comment:
While I agree that getting .ksh is an unfortunate guess, I am not sure how you can guess in the face of many options (especially when the those options are parsed out of a mimetypes file or the windows registry).
Perhaps there should be a "resonable_defaults" map that is checked first for very basic types where there are multiple extensions for a type?
----------
nosy: +lambacck
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1043134>
_______________________________________
More information about the Python-bugs-list
mailing list