mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-92239: Make sure that PEP 523 is supported, even when specializing first. (GH-92245)
This commit is contained in:
parent
9d20e1af40
commit
f8a2fab212
5 changed files with 74 additions and 1 deletions
|
@ -4890,6 +4890,7 @@ handle_eval_breaker:
|
|||
|
||||
TARGET(CALL_PY_EXACT_ARGS) {
|
||||
assert(call_shape.kwnames == NULL);
|
||||
DEOPT_IF(tstate->interp->eval_frame, CALL);
|
||||
_PyCallCache *cache = (_PyCallCache *)next_instr;
|
||||
int is_meth = is_method(stack_pointer, oparg);
|
||||
int argcount = oparg + is_meth;
|
||||
|
@ -4923,6 +4924,7 @@ handle_eval_breaker:
|
|||
|
||||
TARGET(CALL_PY_WITH_DEFAULTS) {
|
||||
assert(call_shape.kwnames == NULL);
|
||||
DEOPT_IF(tstate->interp->eval_frame, CALL);
|
||||
_PyCallCache *cache = (_PyCallCache *)next_instr;
|
||||
int is_meth = is_method(stack_pointer, oparg);
|
||||
int argcount = oparg + is_meth;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue