Generate code to recursively copy an AST into
a tree of Python objects. Expose this through compile().
diff --git a/Include/Python-ast.h b/Include/Python-ast.h
index 4dfaef8..3f07452 100644
--- a/Include/Python-ast.h
+++ b/Include/Python-ast.h
@@ -404,3 +404,4 @@
keyword_ty keyword(identifier arg, expr_ty value, PyArena *arena);
alias_ty alias(identifier name, identifier asname, PyArena *arena);
+PyObject* PyAST_mod2obj(mod_ty t);
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index 446133a..a18a4e2 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -11,6 +11,7 @@
#define PyCF_MASK_OBSOLETE (CO_NESTED)
#define PyCF_SOURCE_IS_UTF8 0x0100
#define PyCF_DONT_IMPLY_DEDENT 0x0200
+#define PyCF_ONLY_AST 0x0400
typedef struct {
int cf_flags; /* bitmask of CO_xxx flags relevant to future */