Re: [Tutor] Python Control Flow Graph

2006-03-21 Thread Danny Yoo
On Tue, 21 Mar 2006, Brian C. Lum wrote: > I have been looking for a good way to convert python code into a control > flow graph. [text cut] Hi Brian, I think you may want to ask your question to the pypy folks, since your question is a bit specialized. Check out pypy, which is an implemenat

[Tutor] Python Control Flow Graph

2006-03-21 Thread Brian C. Lum
Dear Python Tutors, I have been looking for a good way to convert python code into a control flow graph. I know of Python functions that will convert an expression into an abstract syntax tree (i.e. ast = parser.expr('(x+5)*5') then t = ast.totuple() then t), but I am not sure how to obtain a