This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benhoyt
Recipients barry, benhoyt, brian.curtin, dlchambers, ishimoto, r.david.murray, sayap, terry.reedy, tim.golden
Date 2012-12-10.03:18:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1355109511.45.0.92150877157.issue15207@psf.upfronthosting.co.za>
In-reply-to
Content
Either way -- this needs to be reverted or fixed. It's a nasty gotcha for folks writing Python web services at the moment. I'm still for reverting, per my reasons above.

Dave Chambers, I'm not for "faster but broken" but for "faster and fixed" -- from what I've shown above, it's the Windows registry that's broken, so removing read_windows_registry() entirely would fix this (and as a bonus, be faster and simplify the code :-).

Per your suggestion http://bugs.python.org/issue15207#msg177092 -- I don't understand how mimetypes.py would know the types "that aren't hardcoded".

R. David Murray, I don't understand the advantage of trying to maintain a list of "Windows fixes". What if this list was wrong, or there was a Windows update which broke more mime types? Why can't we just avoid the complication and go back to the hardcoded types for Windows?
History
Date User Action Args
2012-12-10 03:18:31benhoytsetrecipients: + benhoyt, barry, terry.reedy, ishimoto, tim.golden, sayap, r.david.murray, brian.curtin, dlchambers
2012-12-10 03:18:31benhoytsetmessageid: <1355109511.45.0.92150877157.issue15207@psf.upfronthosting.co.za>
2012-12-10 03:18:31benhoytlinkissue15207 messages
2012-12-10 03:18:30benhoytcreate