Improve reporting of broken stdout pipe during interpreter shutdown

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

Direzione di ricerca

Start by reviewing python-sigint_and_epipe_straces.txt and flush_stdout_at_shutdown.patch, the historical evidence and proposed change attached to this issue. Determine the current interpreter-shutdown behavior for a broken stdout pipe and define improved reporting before validating the result with an appropriate regression test.

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

Descrizione

topic-IO type-bug
BPO 11380
Nosy @terryjreedy, @ncoghlan, @pitrou, @rbtcollins, @florentx, @vadmium
Files
  • python-sigint_and_epipe_straces.txt: strace of issue in 3.2.2, 3.1.2, and 2.5.2
  • flush_stdout_at_shutdown.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-03-03.01:32:45.546>
    labels = ['type-bug', 'expert-IO']
    title = 'Improve reporting of broken stdout pipe during interpreter shutdown'
    updated_at = <Date 2018-06-16.10:13:08.003>
    user = 'https://bugs.python.org/ulidtko'
    

    bugs.python.org fields:

    activity = <Date 2018-06-16.10:13:08.003>
    actor = 'martin.panter'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['IO']
    creation = <Date 2011-03-03.01:32:45.546>
    creator = 'ulidtko'
    dependencies = []
    files = ['24517', '31853']
    hgrepos = []
    issue_num = 11380
    keywords = ['patch']
    message_count = 16.0
    messages = ['129930', '130083', '153320', '198316', '198332', '198338', '198339', '198345', '198347', '198349', '213109', '248574', '248579', '248625', '248626', '319729']
    nosy_count = 11.0
    nosy_names = ['terry.reedy', 'ncoghlan', 'pitrou', 'rbcollins', 'zzzeek', 'flox', 'ulidtko', 'martin.panter', 'Jeremy.Fishman', 'daumiller', 'Christopher.Heiny']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue11380'
    versions = ['Python 2.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.