Skip to content

urllib.request.urlretrieve hangs waiting for connection close after a redirect #52283

@andyharrington

Description

@andyharrington
BPO 8035
Nosy @amauryfa, @orsenthil, @pitrou, @merwok, @bitdancer
Files
  • tests.zip: 2.6 file that works and 3.1 file that hangs on urlretrieve in some cases
  • urllib_redirect.diff
  • 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 2011-12-18.16:12:02.226>
    created_at = <Date 2010-03-01.19:01:51.985>
    labels = ['type-bug', 'library']
    title = 'urllib.request.urlretrieve hangs waiting for connection close after a redirect'
    updated_at = <Date 2011-12-30.21:30:21.990>
    user = 'https://bugs.python.org/andyharrington'

    bugs.python.org fields:

    activity = <Date 2011-12-30.21:30:21.990>
    actor = 'eric.araujo'
    assignee = 'none'
    closed = True
    closed_date = <Date 2011-12-18.16:12:02.226>
    closer = 'neologix'
    components = ['Library (Lib)']
    creation = <Date 2010-03-01.19:01:51.985>
    creator = 'andyharrington'
    dependencies = []
    files = ['16407', '22040']
    hgrepos = []
    issue_num = 8035
    keywords = ['patch', 'needs review']
    message_count = 13.0
    messages = ['100259', '102351', '102354', '111093', '111108', '111129', '126180', '136386', '149765', '149774', '150016', '150022', '150396']
    nosy_count = 8.0
    nosy_names = ['amaury.forgeotdarc', 'orsenthil', 'pitrou', 'andyharrington', 'eric.araujo', 'r.david.murray', 'neologix', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue8035'
    versions = ['Python 3.2']

    Metadata

    Metadata

    Assignees

    No one assigned

      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