Skip to content

SocketServer doesn't handle syscall interruption #52226

@nvetoshkin

Description

@nvetoshkin
BPO 7978
Nosy @gpshead, @pitrou, @vstinner, @giampaolo
Files
  • SocketServer_eintr.diff: handle EINTR patch
  • eintr_safety.py: Toy 3.x program to play with select() and EINTR
  • sockServe.py: example
  • socketserver_eintr_py3k_updated.diff
  • socketserver_eintr_20120406.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 2012-04-08.23:25:19.590>
    created_at = <Date 2010-02-21.19:14:53.658>
    labels = ['type-bug', 'library']
    title = "SocketServer doesn't handle syscall interruption"
    updated_at = <Date 2012-04-08.23:48:11.811>
    user = 'https://bugs.python.org/nvetoshkin'

    bugs.python.org fields:

    activity = <Date 2012-04-08.23:48:11.811>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-04-08.23:25:19.590>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2010-02-21.19:14:53.658>
    creator = 'nvetoshkin'
    dependencies = []
    files = ['16755', '16813', '17120', '17314', '25144']
    hgrepos = []
    issue_num = 7978
    keywords = ['patch']
    message_count = 32.0
    messages = ['99676', '100704', '102331', '102333', '102336', '102337', '102363', '102591', '102592', '102594', '102596', '102660', '102680', '102690', '102704', '104455', '104459', '105617', '120898', '125234', '137361', '137362', '137414', '157695', '157725', '157814', '157815', '157817', '157818', '157822', '157824', '157825']
    nosy_count = 14.0
    nosy_names = ['gregory.p.smith', 'spiv', 'exarkun', 'pitrou', 'vstinner', 'giampaolo.rodola', 'Christophe Simonis', 'nvetoshkin', 'neologix', 'Yaniv.Aknin', 'bda', 'kchen', 'Jerzy.Kozera', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue7978'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']

    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