Skip to content

PyUnicode_Type needs vectorcall. #117709

Closed
Closed
@markshannon

Description

@markshannon

Calls to str() must use the old tp_call protocol instead of tp_vectorcall, as PyUnicode_Type does not implement vectorcall.
All other common types, including list, dict, tuple implement vectorcall. For some reason str got overlooked.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions