Interrupts are lost during readline PyOS_InputHook processing (reopening)

Open
#67,426 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
c, python

Research direction

Start by reading the issue23237 patches, especially _tkinter.c.patch and hook-interrupt.3.6.patch, then trace readline PyOS_InputHook processing in the CPython extension-module code. Reproduce the reported lost-interrupt behavior and compare the existing patch versions; the work is done when interrupts are handled correctly during processing.

Written by the indexing model from the issue text.

Description

extension-modules type-bug
BPO 23237
Nosy @vstinner, @bitdancer, @vadmium, @serhiy-storchaka
Files
  • issue23237.patch: Patch for issue 23237
  • issue23237.version2.patch: Patch for issue 23237, version 2
  • _tkinter.c.patch: Patch for _tkinter.c
  • hook-interrupt.3.6.patch: For Python 3
  • 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 = None
    created_at = <Date 2015-01-14.02:13:03.133>
    labels = ['extension-modules', 'type-bug']
    title = 'Interrupts are lost during readline PyOS_InputHook processing (reopening)'
    updated_at = <Date 2015-10-27.12:17:00.070>
    user = 'https://bugs.python.org/MichieldeHoon'
    

    bugs.python.org fields:

    activity = <Date 2015-10-27.12:17:00.070>
    actor = 'martin.panter'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Extension Modules']
    creation = <Date 2015-01-14.02:13:03.133>
    creator = 'Michiel.de.Hoon'
    dependencies = []
    files = ['37832', '39608', '39616', '39630']
    hgrepos = []
    issue_num = 23237
    keywords = ['patch']
    message_count = 14.0
    messages = ['233997', '234000', '234592', '244021', '244449', '244751', '244806', '244810', '244815', '244816', '244857', '244870', '253424', '253531']
    nosy_count = 6.0
    nosy_names = ['mdehoon', 'vstinner', 'r.david.murray', 'martin.panter', 'serhiy.storchaka', 'Michiel.de.Hoon']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue23237'
    versions = ['Python 3.6']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.