Occasionally check for Ctrl-C in long-running operations like sum

Aperta
#70,539 16 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python

Direzione di ricerca

Start by reviewing KeyboardInterrupt.patch and test_sig_int_builtins.py, the files attached to this issue. Check how the proposed tests exercise Ctrl-C during long-running built-in operations such as sum. Done means the relevant built-ins can be interrupted and the regression tests pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

3.7 (EOL) interpreter-core type-bug
BPO 26351
Nosy @rhettinger, @terryjreedy, @ncoghlan, @vstinner, @stevendaprano, @wimglenn, @treyhunner
Files
  • KeyboardInterrupt.patch: Allows interruption of builtin routines using ctrl-c
  • test_sig_int_builtins.py
  • 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 2016-02-12.17:47:32.154>
    labels = ['interpreter-core', 'type-bug', '3.7']
    title = 'Occasionally check for Ctrl-C in long-running operations like sum'
    updated_at = <Date 2016-09-30.14:54:40.369>
    user = 'https://github.com/stevendaprano'
    

    bugs.python.org fields:

    activity = <Date 2016-09-30.14:54:40.369>
    actor = 'trey'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2016-02-12.17:47:32.154>
    creator = 'steven.daprano'
    dependencies = []
    files = ['44746', '44747']
    hgrepos = []
    issue_num = 26351
    keywords = ['patch']
    message_count = 15.0
    messages = ['260189', '260238', '260535', '260536', '260556', '276995', '276996', '277002', '277094', '277096', '277098', '277185', '277190', '277220', '277757']
    nosy_count = 8.0
    nosy_names = ['rhettinger', 'terry.reedy', 'ncoghlan', 'vstinner', 'steven.daprano', 'wim.glenn', 'gslavin', 'trey']
    pr_nums = []
    priority = 'low'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26351'
    versions = ['Python 3.7']
    

    Lingua principale
    Python
    Stelle
    77.2k
    Fork
    36k
    Merge medio
    1g 9h
    PR unite (30g)
    558

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Altre issue di python/cpython

    Tutte le issue di python/cpython

    Issue simili

    Altre issue su Python

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.