Skip to content

Memory leak of NoDefaultType in _typing #123448

Description

@ZeroIntensity

Bug report

Bug description:

Quick reproducer:

$ ./python -X showrefcount -c "import _typing"
[8 refs, 0 blocks]

The underlying leaked object is NoDefaultType. I think this was caused by gh-118897 (cc @JelleZijlstra).

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Activity

  1. changed the title [-]Memory leak of `NoDefaultType in `_typing`[/-] [+]Memory leak of `NoDefaultType` in `_typing`[/+] on Aug 29, 2024
  2. added a commit that references this issue on Aug 29, 2024
  3. added a commit that references this issue on Aug 29, 2024
  4. added a commit that references this issue on Aug 29, 2024
  5. JelleZijlstra commented on Aug 29, 2024

    @JelleZijlstra
    Member

    Thanks!

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