Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #22404 > unrolled thread

Re: CFG for python

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2012-03-31 01:56 +0100
Last post2012-03-31 01:56 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: CFG for python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-03-31 01:56 +0100

#22404 — Re: CFG for python

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2012-03-31 01:56 +0100
SubjectRe: CFG for python
Message-ID<mailman.1164.1333155438.3037.python-list@python.org>
On 29/03/2012 06:44, J. Mwebaze wrote:
> Anyone knows how to create control-flow-graph for python.. After searching
> around, i found  this article,
> http://www.python.org/dev/peps/pep-0339/#ast-to-cfg-to-bytecode  and also a
> reference to http://doc.pypy.org/en/latest/objspace.html#the-flow-model
>
> However, i stil cant figure out what how to create the CFG from the
> two references.
> Regards
>

Taking a look at this may help you get going 
http://alexleone.blogspot.co.uk/2010/01/python-ast-pretty-printer.html

-- 
Cheers.

Mark Lawrence.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web