Skip to content

_thread.interrupt_main() errors if SIGINT handler in SIG_DFL, SIG_IGN #67584

@takluyver

Description

@takluyver
mannequin
BPO 23395
Nosy @pitrou, @vstinner, @mcepl, @takluyver, @minrk, @miss-islington, @gozdal
PRs
  • WIP: bpo-23395: Raise an exception if the SIGINT signal is ignored or not handled #7777
  • bpo-23395: Raise an exception if the SIGINT signal is ignored or not handled #7778
  • [3.7] bpo-23395: Fix PyErr_SetInterrupt if the SIGINT signal is ignored or not handled (GH-7778) #13541
  • Files
  • issue23395.patch
  • issue23395.2.patch
  • interrupt_main.patch
  • 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-24.09:28:54.994>
    created_at = <Date 2015-02-04.23:50:50.367>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = '_thread.interrupt_main() errors if SIGINT handler in SIG_DFL, SIG_IGN'
    updated_at = <Date 2021-03-04.23:22:55.101>
    user = 'https://github.com/takluyver'

    bugs.python.org fields:

    activity = <Date 2021-03-04.23:22:55.101>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-05-24.09:28:54.994>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2015-02-04.23:50:50.367>
    creator = 'takluyver'
    dependencies = []
    files = ['43544', '43546', '43560']
    hgrepos = []
    issue_num = 23395
    keywords = ['patch']
    message_count = 20.0
    messages = ['235412', '269287', '269289', '269298', '269300', '269301', '269303', '269304', '269307', '269309', '269362', '269414', '269418', '282756', '343323', '343354', '343357', '343359', '353291', '388136']
    nosy_count = 10.0
    nosy_names = ['pitrou', 'vstinner', 'mcepl', 'neologix', 'takluyver', 'minrk', 'Andre Merzky', 'sxsns243', 'miss-islington', 'gozdal']
    pr_nums = ['7777', '7778', '13541']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue23395'
    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