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 thomaslee
Recipients thomaslee
Date 2008-01-11.23:58:40
SpamBayes Score 0.008095674
Marked as misclassified No
Message-id <1200095922.65.0.677669960272.issue1810@psf.upfronthosting.co.za>
In-reply-to
Content
This patch against HEAD provides the inverse operations to all the
ast2obj_* functions in Python/Python-ast.c: effectively, this allows
conversion to & from a PyObject representation of a Python AST.

Additionally, it updates the compile() builtin to allow it to compile
Python ASTs to bytecode.

The patch seems to work for most simple cases, but crashes out with a
segfault when trying to compile functions for some reason.
History
Date User Action Args
2008-01-11 23:58:42thomasleesetspambayes_score: 0.00809567 -> 0.008095674
recipients: + thomaslee
2008-01-11 23:58:42thomasleesetspambayes_score: 0.00809567 -> 0.00809567
messageid: <1200095922.65.0.677669960272.issue1810@psf.upfronthosting.co.za>
2008-01-11 23:58:41thomasleelinkissue1810 messages
2008-01-11 23:58:41thomasleecreate