commit | bd260da900b5c5f16e5c61f6795d08171b33e0f8 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sun Feb 26 19:42:26 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sun Feb 26 19:42:26 2006 +0000 |
tree | 0880faf7b6da37250984d1a0e6e6c5a0faa25f06 | |
parent | 23b0dc50535d7eaf2f322b04da7a7f86815fcc8f [diff] [blame] |
Generate code to recursively copy an AST into a tree of Python objects. Expose this through compile().
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 388ec72..49645181 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c
@@ -443,7 +443,7 @@ } if (supplied_flags & - ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_DONT_IMPLY_DEDENT)) + ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_DONT_IMPLY_DEDENT | PyCF_ONLY_AST)) { PyErr_SetString(PyExc_ValueError, "compile(): unrecognised flags");