python / python/cpython

Clear audit hooks after destructors

Open
#85,334 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.10 3.8 (EOL) 3.9 (EOL) interpreter-core type-security
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 41162
Nosy @tiran, @zooba, @zkonge, @frankli0324
PRs
  • python/cpython#21222
  • python/cpython#21302
  • python/cpython#21303
  • python/cpython#21304
  • Files
  • clearaudithook.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 2020-06-29.16:28:11.224>
    labels = ['type-security', 'interpreter-core', '3.8', '3.9', '3.10']
    title = 'Clear audit hooks after destructors'
    updated_at = <Date 2020-07-06.19:23:17.309>
    user = 'https://github.com/zooba'
    

    bugs.python.org fields:

    activity = <Date 2020-07-06.19:23:17.309>
    actor = 'steve.dower'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2020-06-29.16:28:11.224>
    creator = 'steve.dower'
    dependencies = []
    files = ['49276']
    hgrepos = []
    issue_num = 41162
    keywords = ['patch']
    message_count = 7.0
    messages = ['372601', '372610', '372892', '372958', '372965', '372970', '373158']
    nosy_count = 4.0
    nosy_names = ['christian.heimes', 'steve.dower', 'zkonge', 'frankli']
    pr_nums = ['21222', '21302', '21303', '21304']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'security'
    url = 'https://bugs.python.org/issue41162'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

    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.

    Research direction

    Start with the linked clearaudithook.patch and the four referenced pull requests, then read the surrounding CPython interpreter-core changes. Check the existing patch and review history to determine the intended behavior after destructors; done means the audit hooks are cleared as specified and the related review concerns are resolved.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    operating-systems, security
    Issue type
    Bug
    Difficulty
    4/5
    Estimated time
    3-5 days
    Activity status
    Stale
    Clarity
    Mostly clear
    Newbie friendliness
    20/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.