Hi,
I am looking into how the python compiler generates basic blocks during the CFG
generation process and my expectations from CFG theory seems to be at odds with
how the python compiler actually generates its CFG. Take the following code
snippet for example:
def median(pool):
copy = sort
, 2016, at 2:04 PM, Obiesie ike-nwosu via Python-Dev
>> wrote:
>>
>> Hi,
>>
>> Could some one give a hand with explaining to me why we have a JUMP_ABSOLUTE
>> followed by a JUMP_FORWARD op code when this function is disassembled.
>> < snipped>
>>
Hi,
Could some one give a hand with explaining to me why we have a JUMP_ABSOLUTE
followed by a JUMP_FORWARD op code when this function is disassembled.
>>> def f1():
... a, b = 10, 11
... if a >= 10:
... if b >= 11:
... print("hello world")
…
The disass