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 r.david.murray
Recipients barry, benhoyt, brian.curtin, dlchambers, ishimoto, r.david.murray, sayap, terry.reedy, tim.golden
Date 2012-12-07.13:33:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I will note that on unix the user is also free to update the machine's mime types registry (that's more than half the point of the mimetypes module).  Usually this is only done by installed I believe is the case on Windows as well.

That said, there should be a way to explicitly bypass this loading of local data for a program that wishes to use only the Python supplied types.  And indeed, this is possible: just pass an empty list of filenames to init.  This bypasses the windows registry lookup.  (Note that this could be better is not made explicit that an empty list is different from not specifying a list or specifying it as None, but it is).
Date User Action Args
2012-12-07 13:33:44r.david.murraysetrecipients: + r.david.murray, barry, terry.reedy, ishimoto, tim.golden, sayap, brian.curtin, benhoyt, dlchambers
2012-12-07 13:33:44r.david.murraysetmessageid: <>
2012-12-07 13:33:44r.david.murraylinkissue15207 messages
2012-12-07 13:33:44r.david.murraycreate