Skip to content

Make SimpleHTTPRequestHandler load mimetypes lazily #79473

@zooba

Description

@zooba
BPO 35292
Nosy @pfmoore, @tjguk, @pmp-p, @zware, @zooba, @demianbrecht, @danishprakash
PRs
  • bpo-35292: Lazily inject system mime.types into SimpleHTTPRequestHandler.extensions_map #11036
  • bpo-35292: Avoid call mimetypes.init when http.server is imported #17822
  • 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 = None
    closed_at = <Date 2020-01-08.18:31:52.576>
    created_at = <Date 2018-11-21.17:41:40.354>
    labels = ['easy', 'library', '3.9', 'OS-windows', 'performance']
    title = 'Make SimpleHTTPRequestHandler load mimetypes lazily'
    updated_at = <Date 2020-01-08.18:31:52.575>
    user = 'https://github.com/zooba'

    bugs.python.org fields:

    activity = <Date 2020-01-08.18:31:52.575>
    actor = 'steve.dower'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-01-08.18:31:52.576>
    closer = 'steve.dower'
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2018-11-21.17:41:40.354>
    creator = 'steve.dower'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35292
    keywords = ['patch', 'easy']
    message_count = 15.0
    messages = ['330212', '330292', '330322', '331381', '331386', '331392', '331394', '331395', '331396', '331398', '331399', '331400', '331739', '359621', '359622']
    nosy_count = 7.0
    nosy_names = ['paul.moore', 'tim.golden', 'pmpp', 'zach.ware', 'steve.dower', 'demian.brecht', 'danishprakash']
    pr_nums = ['11036', '17822']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue35292'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9only security fixesOS-windowseasyperformancePerformance or resource usagestdlibPython modules in the Lib dir

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions