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

_PyStaticType_Dealloc should not exist. #101603

Open
Assignees
ericsnowcurrently
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
@markshannon

Description

@markshannon

This the twin to#96458, and the same reasoning applies.
If something is static it cannot be deallocated.

AFAICT, this clears subclasses of the static type, and doesn't deallocate the class.
The (class, subclass) relation for static types is an attribute of the interpreter not the class, so_PyStaticType_Dealloc needs to be renamed, at least.

_PyStaticType_Dealloc also allocatesint objects, which is problematic during interpreter cleanup, as theMemoryError cache may be cleared first.

Metadata

Metadata

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp