Skip to content

Unintuitive error handling in wsgiref when a crash happens in write() or close() #73369

Description

@jleclanche
mannequin
BPO 29183
Nosy @cjerdonek, @berkerpeksag, @vadmium, @jleclanche
PRs
  • bpo-29183: Fix double exceptions in wsgiref.handlers.BaseHandler #12914
  • [3.7] bpo-29183: Fix double exceptions in wsgiref.handlers.BaseHandler (GH-12914) #13424
  • Files
  • test_server.py: Reproduction test case (visit localhost:8080)
  • 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 2019-05-19.16:29:18.826>
    created_at = <Date 2017-01-06.19:41:41.174>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'Unintuitive error handling in wsgiref when a crash happens in write() or close()'
    updated_at = <Date 2019-05-19.16:29:18.817>
    user = 'https://github.com/jleclanche'

    bugs.python.org fields:

    activity = <Date 2019-05-19.16:29:18.817>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-05-19.16:29:18.826>
    closer = 'berker.peksag'
    components = ['Library (Lib)']
    creation = <Date 2017-01-06.19:41:41.174>
    creator = 'jleclanche'
    dependencies = []
    files = ['46179']
    hgrepos = []
    issue_num = 29183
    keywords = ['patch', '3.2regression']
    message_count = 6.0
    messages = ['284844', '329223', '329277', '329890', '342861', '342863']
    nosy_count = 4.0
    nosy_names = ['chris.jerdonek', 'berker.peksag', 'martin.panter', 'jleclanche']
    pr_nums = ['12914', '13424']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue29183'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifestdlibStandard 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