Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Memory leak with static iterator types #91632

Closed
Assignees
corona10
Labels
3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-C-API
@kumaraditya303

Description

@kumaraditya303

Python does not finalizes iterators of some types at exit leading to memory leak.

Reproducer:

a=type(iter(tuple[int]))print(a.mro())

Leak:

[<class 'generic_alias_iterator'>, <class 'object'>][119 refs, 46 blocks]

See also#90575

Metadata

Metadata

Assignees

Labels

3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-C-API

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp