Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
According to the docs,CALL event should be emitted as long as there's a function call in Python code. However,CALL_FUNCTION_EX does it differently - it only emits the event when it's a call to C function. So monitoring the following code produce different results:
deff(a,b):returna+bf(1,2)# Emits CALL eventargs= (1,2)f(*args)# Does NOT emit CALL event
I think we should just fixCALL_FUNCTION_EX to make it work the same as the other CALL instructions.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux