Skip to content

mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings #59412

@dlchambers

Description

@dlchambers
BPO 15207
Nosy @malemburg, @warsaw, @terryjreedy, @atsuoishimoto, @Cito, @pitrou, @tjguk, @bitdancer, @benhoyt
Files
  • mimetype_flaw_demo.zip: Demo of bug and proposed fix
  • mimetypes.py.diff: diff file
  • mimetypes.py.diff.u: diff with universal format
  • issue15207.patch
  • mt.py: Show mimetype mappings
  • mt-tip.txt
  • mt-tip-newregistry.txt
  • mt-tip-noregistry.txt
  • different.txt
  • issue15207.33.patch
  • issue15207.27.2.patch
  • issue15207.33.2.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/tjguk'
    closed_at = <Date 2013-10-22.19:53:54.421>
    created_at = <Date 2012-06-27.16:03:28.789>
    labels = ['type-bug', 'expert-email', 'OS-windows']
    title = 'mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings'
    updated_at = <Date 2014-07-30.15:41:54.736>
    user = 'https://bugs.python.org/dlchambers'

    bugs.python.org fields:

    activity = <Date 2014-07-30.15:41:54.736>
    actor = 'brian.curtin'
    assignee = 'tim.golden'
    closed = True
    closed_date = <Date 2013-10-22.19:53:54.421>
    closer = 'tim.golden'
    components = ['Windows', 'email']
    creation = <Date 2012-06-27.16:03:28.789>
    creator = 'dlchambers'
    dependencies = []
    files = ['26180', '26181', '26185', '26507', '29900', '29901', '29902', '29903', '29913', '31217', '31259', '31260']
    hgrepos = []
    issue_num = 15207
    keywords = ['patch']
    message_count = 42.0
    messages = ['164167', '164176', '164177', '164180', '164191', '166351', '168833', '168918', '177030', '177085', '177089', '177091', '177092', '177096', '177257', '177259', '177260', '177280', '177286', '177289', '177311', '177313', '177314', '181006', '181007', '187156', '187157', '187158', '187159', '187167', '187168', '187216', '194814', '194909', '195016', '195032', '200980', '200986', '200987', '219788', '224314', '224316']
    nosy_count = 14.0
    nosy_names = ['lemburg', 'barry', 'terry.reedy', 'ishimoto', 'cito', 'ggenellina', 'pitrou', 'tim.golden', 'sayap', 'r.david.murray', 'benhoyt', 'BreamoreBoy', 'python-dev', 'dlchambers']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue15207'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions