Message132476
| Author |
ncoghlan |
| Recipients |
Trundle, alex, benjamin.peterson, brett.cannon, daniel.urban, dmalcolm, eltoder, georg.brandl, mark.dickinson, nadeem.vawda, ncoghlan, pitrou, rhettinger, santoso.wijaya, techtonik, terry.reedy |
| Date |
2011年03月29日.10:47:00 |
| SpamBayes Score |
5.2130826e-08 |
| Marked as misclassified |
No |
| Message-id |
<1301395621.64.0.12615240027.issue11549@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Eugene: I suggest raising the question on python-dev. The answer potentially affects the PEP 380 patch as well (which adds a new attribute to the "Yield" node).
Anatoly: If you just want to get a feel for the kind of AST various pieces of code produce, then the "ast.dump" function (along with using the ast.PyCF_ONLY_AST flag in compile) may be enough.
You may also want to take a look at the AST -> dot file conversion code in Dave Malcolm's patches on #10399. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年03月29日 10:47:01 | ncoghlan | set | recipients:
+ ncoghlan, brett.cannon, georg.brandl, rhettinger, terry.reedy, mark.dickinson, pitrou, techtonik, nadeem.vawda, benjamin.peterson, alex, Trundle, dmalcolm, daniel.urban, santoso.wijaya, eltoder |
| 2011年03月29日 10:47:01 | ncoghlan | set | messageid: <1301395621.64.0.12615240027.issue11549@psf.upfronthosting.co.za> |
| 2011年03月29日 10:47:01 | ncoghlan | link | issue11549 messages |
| 2011年03月29日 10:47:00 | ncoghlan | create |
|