31. Function Calls
31. Function Calls Function calls are one of the most important execution paths in CPython. A call connects several systems at once: bytecode execution, frames, argument binding, descriptors, methods, closures, the C API, reference counting, exceptions, and return handling. A simple call: result = f(1, 2) looks small at the source level. At runtime, CPython must: load the callable load the arguments choose the correct call protocol bind arguments to...