[issue1043134] mimetypes.guess_extension('text/plain') == '.ksh' ???

Stefan Krah report at bugs.python.org
Fri Aug 20 23:50:30 CEST 2010


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

I think you are closing too aggressively.


Python 3.2a0 (py3k:81783, Jun  6 2010, 16:07:26) 
[GCC 4.1.3 20080623 (prerelease) (Ubuntu 4.1.2-23ubuntu3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mimetypes
>>> mimetypes.guess_extension('text/plain')
'.ksh'
>>>

----------
nosy: +skrah
status: pending -> open
versions: +Python 3.1, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1043134>
_______________________________________


More information about the Python-bugs-list mailing list