PyTraceBack_Print() fails if signal received but PyErr_CheckSignals() not called

Aperta
#57,882 7 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
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start by reviewing testsigint.zip and the attached traceback_checksignals.patch files, then inspect the current implementation of PyTraceBack_Print() and PyErr_CheckSignals(). Reproduce the signal-handling failure and compare the behavior with the proposed patches; done means the traceback prints correctly when a signal is pending but PyErr_CheckSignals() has not been called.

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

Descrizione

interpreter-core type-bug
BPO 13673
Nosy @amauryfa, @pitrou
Files
  • testsigint.zip
  • traceback_checksignals.patch
  • traceback_checksignals_2.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 = None
    created_at = <Date 2011-12-28.21:34:59.902>
    labels = ['interpreter-core', 'type-bug']
    title = 'PyTraceBack_Print() fails if signal received but PyErr_CheckSignals() not called'
    updated_at = <Date 2015-10-13.04:38:39.190>
    user = 'https://bugs.python.org/sbt'
    

    bugs.python.org fields:

    activity = <Date 2015-10-13.04:38:39.190>
    actor = 'martin.panter'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2011-12-28.21:34:59.902>
    creator = 'sbt'
    dependencies = []
    files = ['24100', '24106', '24177']
    hgrepos = []
    issue_num = 13673
    keywords = ['patch']
    message_count = 7.0
    messages = ['150319', '150328', '150331', '150340', '150342', '150352', '150875']
    nosy_count = 3.0
    nosy_names = ['amaury.forgeotdarc', 'pitrou', 'sbt']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue13673'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']
    

    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.