This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dmalcolm
Recipients alex, belopolsky, benjamin.peterson, brett.cannon, dmalcolm, jhylton, nnorwitz, orsenthil, pitrou, rhettinger, sdahlbac, thomaslee, titanstar
Date 2010-11-20.00:01:36
SpamBayes Score 5.9397955e-08
Marked as misclassified No
Message-id <1290211298.26.0.0578004534764.issue10399@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2010-11-20 00:01:38dmalcolmsetrecipients: + dmalcolm, jhylton, nnorwitz, brett.cannon, rhettinger, belopolsky, sdahlbac, orsenthil, titanstar, pitrou, thomaslee, benjamin.peterson, alex
2010-11-20 00:01:38dmalcolmsetmessageid: <1290211298.26.0.0578004534764.issue10399@psf.upfronthosting.co.za>
2010-11-20 00:01:36dmalcolmlinkissue10399 messages
2010-11-20 00:01:36dmalcolmcreate