Message121579
> Third, for that Graphviz output, was anything special required? If so,
> I would toss the code into Tools for others to benefit from.
It's merely the "to_dot" function from Lib/__optimizer__.py (which turns an AST into .dot source code), followed by "dot_to_png" in the same file which invokes /usr/bin/dot on it, which is likely to be readily available on any Linux system. Would it be reasonable to add "to_dot" to Lib/ast.py? (it's ~25 lines, and very similar to that file's "dump" function. |
|
Date |
User |
Action |
Args |
2010-11-20 00:01:38 | dmalcolm | set | recipients:
+ dmalcolm, jhylton, nnorwitz, brett.cannon, rhettinger, belopolsky, sdahlbac, orsenthil, titanstar, pitrou, thomaslee, benjamin.peterson, alex |
2010-11-20 00:01:38 | dmalcolm | set | messageid: <1290211298.26.0.0578004534764.issue10399@psf.upfronthosting.co.za> |
2010-11-20 00:01:36 | dmalcolm | link | issue10399 messages |
2010-11-20 00:01:36 | dmalcolm | create | |
|