Chris Lambacher ch...@kateandchris.net added the comment:
This is a dup of #1043134
--
nosy: +lambacck
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6799
___
Antoine Pitrou pit...@free.fr added the comment:
This is quite a reasonable request indeed.
--
nosy: +pitrou
priority: - normal
stage: - needs patch
versions: -Python 2.5, Python 3.0
___
Python tracker rep...@bugs.python.org
New submission from Paul Tarjan pyt...@paulisageek.com:
import mimetypes
mimetypes.guess_extension(text/plain)
'.ksh'
most others are correct, it is just this one is quite wrong. I would
recommend changing it to .txt .
mimetypes.guess_all_extensions(text/plain)
['.ksh', '.pl', '.c',