(Sorry if this reply doesn't thread as I intend -- I wasn't configured
to get python-dev emails, so I'm replying to my original with
copy-n-paste.)
On Tue, 16 Apr 2013 14:00:53 -0400, Terry Jan Reedy wrote:
> On 4/15/2013 10:04 PM, Ben Hoyt wrote:
> > So my proposal is simply to get rid of read_w
On Tue, 16 Apr 2013 14:00:53 -0400, Terry Jan Reedy wrote:
> On 4/15/2013 10:04 PM, Ben Hoyt wrote:
> > So my proposal is simply to get rid of read_windows_registry()
> > altogether, and fall back to the default type mapping in mimetypes.py on
> > Windows systems. This is correct and fast, even if
On 4/15/2013 10:04 PM, Ben Hoyt wrote:
Hi folks,
The built-in mimetypes module is broken on Windows, and it has been
since Python 2.7 alpha 1. On all Windows systems I've tried,
guess_type() returns the wrong mime type for common types like .png and
.jpg. For example (on Python 2.7.4 and 3.3.1):
Skip Montanaro writes:
> > Would it make sense to think about adding this in the scope of
> > the argument clinic work, or is it too unrelated? This seems like
> > a commonly needed thing for large parts of the stdlib (where the
> > C accelerator overrides Python code).
>
> Or maybe separat