Skip to content

Remove mimetools usage from the stdlib #47097

@brettcannon

Description

@brettcannon
BPO 2848
Nosy @warsaw, @brettcannon, @rhettinger, @hdiogenes, @benjaminp, @merwok
Files
  • remove_mimetools_from_urllib.patch: Remove mimetools from (test_)urllib (updated)
  • email.parser-small_fix.patch: Simple patch to remove outdated workaround from email Parser
  • replace_getheaders_by_get.patch: Start using methods compatible with both mimetools and email.Message
  • rename_HTTPResponse.getheaders.patch: Suggestion: rename HTTPResponse.getheader() to .get_header()
  • remove_mimetools_from_http.client.patch: Breaks tests because FeedParser closes the socket.
  • remove_mimetools.patch: Completely removes dependencies on mimetools (but breaks two tests).
  • applied_mimetools.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/warsaw'
    closed_at = <Date 2010-07-17.22:23:17.091>
    created_at = <Date 2008-05-14.00:59:34.517>
    labels = ['type-bug', 'library']
    title = 'Remove mimetools usage from the stdlib'
    updated_at = <Date 2010-07-17.22:23:17.088>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2010-07-17.22:23:17.088>
    actor = 'eric.araujo'
    assignee = 'barry'
    closed = True
    closed_date = <Date 2010-07-17.22:23:17.091>
    closer = 'eric.araujo'
    components = ['Library (Lib)']
    creation = <Date 2008-05-14.00:59:34.517>
    creator = 'brett.cannon'
    dependencies = []
    files = ['10516', '10537', '10538', '10541', '10542', '10583', '10598']
    hgrepos = []
    issue_num = 2848
    keywords = ['patch']
    message_count = 23.0
    messages = ['66809', '66973', '67176', '67177', '67681', '67682', '67684', '67686', '67791', '67793', '67794', '67797', '67970', '67971', '68050', '68051', '68052', '68058', '68060', '68093', '77153', '77179', '110608']
    nosy_count = 7.0
    nosy_names = ['barry', 'brett.cannon', 'rhettinger', 'hdiogenes', 'benjamin.peterson', 'eric.araujo', 'bboissin']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2848'
    versions = ['Python 2.7']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions