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.

classification
Title: mimetypes initialization order
Type: behavior Stage: resolved
Components: Windows Versions: Python 3.3, Python 3.4, Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: chid, tim.golden
Priority: normal Keywords: patch

Created on 2014-02-24 09:10 by chid, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
mywork.patch chid, 2014-02-24 09:11 review
Messages (3)
msg212075 - (view) Author: Charley Peng (chid) * Date: 2014-02-24 09:10
I thought that it would make more sense to check that the registry entry starts with a . before it attempts to request it in mimetypes.py.

In any case, this fixed issue 9291 for me. (I realize it's just an incidental fix)
msg212076 - (view) Author: Charley Peng (chid) * Date: 2014-02-24 09:11
Sorry forgot to attach the file.
msg217998 - (view) Author: Tim Golden (tim.golden) * (Python committer) Date: 2014-05-06 17:19
Fixed by issue9291
History
Date User Action Args
2022-04-11 14:57:59adminsetgithub: 64957
2014-05-06 17:19:58tim.goldensetstatus: open -> closed
type: behavior
messages: + msg217998

resolution: duplicate
stage: resolved
2014-02-24 10:47:50ned.deilysetnosy: + tim.golden

type: crash -> (no value)
versions: - Python 3.1, Python 3.2
2014-02-24 09:11:12chidsetfiles: + mywork.patch
keywords: + patch
messages: + msg212076
2014-02-24 09:10:37chidcreate