Skip to content

Disallow calling PyThreadState_Delete* at runtime shutdown #102233

Open

Description

@kumaraditya303

At runtime such code should be disallowed as it can mess when the runtime finalization and can crash the interpreter or worse.

Activity

  1. added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)
    3.11only security fixes
    type-crashA hard crash of the interpreter, possibly with a core dump
    3.12only security fixes
    on Feb 25, 2023
  2. ericsnowcurrently commented on Feb 25, 2023

    @ericsnowcurrently
    Member

    See my thoughts in #102222 (review).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.10 (EOL)end of life3.11only security fixes3.12only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions