New submission from Gabriel Genellina <gagsl-...@yahoo.com.ar>: The mimetypes module has a built-in default database, and, in addition, reads mime.types files from a list of standard places (/etc/mime.types by example) On Windows, those files usually don't even present; MIME information is stored in the registry instead. Until now, the mimetypes module just ignored those settings; this patch adds support for reading the MIME database from the Windows registry.
---------- components: Library (Lib) files: mimetypes.diff keywords: patch messages: 80007 nosy: gagenellina severity: normal status: open title: mimetypes on Windows should read MIME database from registry (w/patch) versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1 Added file: http://bugs.python.org/file12774/mimetypes.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4969> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com