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

Open
#55,142 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
compilers

Research direction

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.

Written by the indexing model from the issue text.

Description

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']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.