[New-bugs-announce] [issue4969] mimetypes on Windows should read MIME database from registry (w/patch)

Gabriel Genellina report at bugs.python.org
Sat Jan 17 09:58:42 CET 2009


New submission from Gabriel Genellina <gagsl-py2 at 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 <report at bugs.python.org>
<http://bugs.python.org/issue4969>
_______________________________________


More information about the New-bugs-announce mailing list