Skip to content

Remove needless trash_delete_later and trash_delete_nesting fields in _gc_runtime_state  #138355

@sergey-miryanov

Description

@sergey-miryanov

Feature or enhancement

Proposal:

Both fields are not used anymore. Instead, trashcan mechanism uses tstate->delete_later.

Should we remove trash_delete_later and trash_delete_nesting? I'm ready to prepare a PR if so.

cc @markshannon as an author of last changes for trashcan, @nascheme as a GC expert.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-refactorCode refactoring (with no changes in behavior)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions