Skip to content

Specializer and interpreter should have same checks for vectorcall #139525

@DinoV

Description

@DinoV

Bug report

Bug description:

When the specializer specializes a call to a python function it doesn't check if vectorcall is a non-default value, but the interpreter does. This leads to some spurious calls to go through the interpreter instead of through the functions vectorcall.

CPython versions tested on:

3.14

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

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