Skip to content

socket.create_connection() doesn't handle EINTR properly #64810

@florentx

Description

@florentx
mannequin
BPO 20611
Nosy @gpshead, @pitrou, @vstinner, @florentx, @vadmium
Superseder
  • bpo-23863: Fix EINTR Socket Module issues in 2.7
  • Files
  • httplib_2.6.4_eintr_patch.py: Python 2.6.4 httplib EINTR patch
  • httplib_2.7.3_eintr_patch.py: Python 2.7.3 httplib EINTR patch
  • socketmodule_2.7.6_eintr_patch.c: Python 2.7.6 socketmodule EINTR patch
  • socket_2.7.3_eintr_patch.py: python 2.7.3 socket.py EINTR patch
  • socket_2_7_2_patch.py: python 2.7.2 socket.py EINTR patch
  • issue20611-connect-eintr-gps01.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 = 'https://github.com/gpshead'
    closed_at = <Date 2015-04-07.22:13:49.141>
    created_at = <Date 2014-02-12.15:13:52.026>
    labels = ['type-bug', 'library', 'expert-IO']
    title = "socket.create_connection() doesn't handle EINTR properly"
    updated_at = <Date 2015-04-07.22:13:49.140>
    user = 'https://github.com/florentx'

    bugs.python.org fields:

    activity = <Date 2015-04-07.22:13:49.140>
    actor = 'gregory.p.smith'
    assignee = 'gregory.p.smith'
    closed = True
    closed_date = <Date 2015-04-07.22:13:49.141>
    closer = 'gregory.p.smith'
    components = ['Library (Lib)', 'IO']
    creation = <Date 2014-02-12.15:13:52.026>
    creator = 'flox'
    dependencies = []
    files = ['35296', '35297', '35361', '35406', '35408', '35465']
    hgrepos = []
    issue_num = 20611
    keywords = ['patch']
    message_count = 20.0
    messages = ['211095', '211128', '218831', '218833', '218836', '218841', '219121', '219122', '219337', '219340', '219343', '219344', '219371', '219375', '219376', '219668', '223890', '235544', '240194', '240232']
    nosy_count = 8.0
    nosy_names = ['gregory.p.smith', 'pitrou', 'vstinner', 'flox', 'tholzer', 'neologix', 'martin.panter', 'meishao']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'test needed'
    status = 'closed'
    superseder = '23863'
    type = 'behavior'
    url = 'https://bugs.python.org/issue20611'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Assignees

    Labels

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions