Content-Length: 275968 | pFad | https://github.com/python/cpython/issues/123448

ad Memory leak of `NoDefaultType` in `_typing` · Issue #123448 · python/cpython · GitHub
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

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









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/123448

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy