Tracing disabled when a recursion error is triggered (even if properly handled)

Aperta
#55,142 6 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
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
compilers

Direzione di ricerca

Review the uploaded recursion_error_disables_tracing.py test case and the historical sys.settrace documentation patches first. Compare them with the current tracing and recursion-error tests and implementation; done means a properly handled recursion error no longer disables tracing.

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

Descrizione

interpreter-core type-bug
BPO 10933
Nosy @fabioz, @bitdancer, @pdmccormick, @GPHemsley
Files
  • recursion_error_disables_tracing.py: Recursion error (test case)
  • issue_10933.patch: documentation patch for sys.settrace [Doc/library/sys.rst]
  • issue_10933-2.patch: Revised 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-01-18.12:31:08.728>
    labels = ['interpreter-core', 'type-bug']
    title = 'Tracing disabled when a recursion error is triggered (even if properly handled)'
    updated_at = <Date 2019-05-18.01:26:48.919>
    user = 'https://github.com/fabioz'
    

    bugs.python.org fields:

    activity = <Date 2019-05-18.01:26:48.919>
    actor = 'gphemsley'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2011-01-18.12:31:08.728>
    creator = 'fabioz'
    dependencies = []
    files = ['20436', '38908', '38909']
    hgrepos = []
    issue_num = 10933
    keywords = ['patch']
    message_count = 6.0
    messages = ['126460', '220891', '240578', '240579', '240584', '240599']
    nosy_count = 5.0
    nosy_names = ['fabioz', 'r.david.murray', 'james', 'pdmccormick', 'gphemsley']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue10933'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']
    

    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.