Re: [Python-Dev] Python CFG Basic blocks

2016-07-11 Thread Brett Cannon
On Mon, 11 Jul 2016 at 14:02 Obiesie ike-nwosu via Python-Dev < python-dev@python.org> wrote: > 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 actual

[Python-Dev] Python CFG Basic blocks

2016-07-11 Thread Obiesie ike-nwosu via Python-Dev
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