Skip to content

Many functions in dictobject.c take a PyInterpreterState *interp parameter, but none of them use it. #142890

@markshannon

Description

@markshannon

The parameter was introduced when the global dictionary version number was moved to the interpreter state.
#102338

We no longer have a global dictionary version number so this parameter can be removed.
https://peps.python.org/pep-0699/

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