Skip to content

urllib2's urlopen() method causes a memory leak #42012

@manekcz

Description

@manekcz
mannequin
BPO 1208304
Nosy @akuchling, @amauryfa, @orsenthil, @pitrou, @abadger
Files
  • urllib2leak.py: main test
  • urllib2.py
  • 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 2013-04-11.09:27:26.277>
    created_at = <Date 2005-05-25.09:20:22.000>
    labels = ['invalid', 'library', 'performance']
    title = "urllib2's urlopen() method causes a memory leak"
    updated_at = <Date 2013-04-11.13:24:20.111>
    user = 'https://bugs.python.org/manekcz'

    bugs.python.org fields:

    activity = <Date 2013-04-11.13:24:20.111>
    actor = 'BreamoreBoy'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-04-11.09:27:26.277>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2005-05-25.09:20:22.000>
    creator = 'manekcz'
    dependencies = []
    files = ['14171', '14827']
    hgrepos = []
    issue_num = 1208304
    keywords = []
    message_count = 21.0
    messages = ['60743', '60744', '60745', '60746', '60747', '60748', '60749', '60750', '60751', '76298', '76300', '76350', '76368', '76683', '88812', '92245', '114503', '186550', '186552', '186556', '186560']
    nosy_count = 16.0
    nosy_names = ['jhylton', 'akuchling', 'holdenweb', 'jafo', 'amaury.forgeotdarc', 'orsenthil', 'pitrou', 'bwelling', 'schmir', 'stephbul', 'manekcz', 'nswinton', 'a.badger', 'peci', 'BreamoreBoy', 'gdub']
    pr_nums = []
    priority = 'normal'
    resolution = 'not a bug'
    stage = None
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue1208304'
    versions = ['Python 2.6', 'Python 3.1', 'Python 2.7', 'Python 3.2']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      performancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions