signal.pause() and signal handlers don't react to SIGCHLD in non-main thread

Aperta
#66,094 18 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
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start by reviewing PR #768 and the referenced scripts signal_pause_doesnt_wake_up.py and thread_signal.py. Reproduce the SIGCHLD behavior with signal.pause() and handlers in a non-main thread, then verify that both respond as described in the issue.

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

Descrizione

3.7 (EOL) interpreter-core
BPO 21895
Nosy @gvanrossum, @pitrou, @vstinner, @njsmith
PRs
  • python/cpython#768
  • Files
  • signal_pause_doesnt_wake_up.py
  • thread_signal.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 2014-07-01.10:01:35.002>
    labels = ['interpreter-core', '3.7']
    title = "signal.pause() and signal handlers don't react to SIGCHLD in non-main thread"
    updated_at = <Date 2021-01-13.06:14:20.968>
    user = 'https://bugs.python.org/bkabrda'
    

    bugs.python.org fields:

    activity = <Date 2021-01-13.06:14:20.968>
    actor = 'gvanrossum'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2014-07-01.10:01:35.002>
    creator = 'bkabrda'
    dependencies = []
    files = ['35815', '46752']
    hgrepos = []
    issue_num = 21895
    keywords = []
    message_count = 18.0
    messages = ['222021', '222022', '222028', '289913', '289920', '289952', '289953', '289957', '289964', '289976', '289977', '289978', '289980', '289981', '290024', '290030', '290031', '384997']
    nosy_count = 6.0
    nosy_names = ['gvanrossum', 'pitrou', 'vstinner', 'njs', 'neologix', 'bkabrda']
    pr_nums = ['768']
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue21895'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6', '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.