KOS_OP_CALL_VAR_ATTR_STAR
Style: EXTRA. Schema: VAR (name cpool index for
obj), CONST (attr name), COUNT (opa bitflags: 1 = has *args, 2 = has **kwargs), NOARG.Stack: Same semantics as
KOS_OP_CALL_ATTR_STAR, butobjis not on the stack; it is read from the frame namespace by name. Stack layout per opa (bottom … TOS): opa=0 →[]; opa=1 →[pos]; opa=2 →[kwd]; opa=3 →[pos, kwd]withkwdat TOS (same relative order as CALL_ATTR_STAR without the receiver). Pop order andopahandling matchKOS_OP_CALL_VAR_STARcombined with CALL_ATTR_STAR;obj.nameresolves as CALL_ATTR describes,objis prepended to the positional tuple when the attribute is an unbound function, and the callee is called with the tuple and the keywords.Invariants:
var_nameand attr name in constant pool; same opa bit meanings as CALL_ATTR_STAR.See also:
KOS_OP_CALL_VAR_ATTRfor the receiver read by name.Compiler form: Not emitted by the compiler; available for manual bytecode construction.