Skip to content

Reference leak in _contextvars.Context.run() #120811

Closed

Description

@ZeroIntensity

Bug report

Bug description:

In _contextvars.Context.run, call_result is not Py_DECREF'd if _PyContext_Exit fails. See here.

CPython versions tested on:

3.11

Operating systems tested on:

Linux

Linked PRs

Activity

  1. added a commit that references this issue on Jun 21, 2024
  2. added 2 commits that reference this issue on Jun 21, 2024
  3. added 2 commits that reference this issue on Jun 22, 2024
  4. added a commit that references this issue on Jun 30, 2024
  5. added a commit that references this issue on Jul 17, 2024
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

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions