Thomas Lee <[EMAIL PROTECTED]> added the comment: Here's a new patch that I believe should fix this issue.
It modifies Makefile.pre.in to include a few additional dependency declarations for source files that depend on Include/graminit.h and Include/Python-ast.h, as well as moving encoding_decl to the top of Grammar/Grammar. This should ensure that changes to the syntax and/or AST nodes will not cause cryptic errors. Longer term, it would be great to remove the parser's dependency on graminit.h to ensure this sort of problem is never an issue. ---------- title: Dependencies of graminit.h are not rebuilt when the file is regenerated -> Circular dependency causes SystemError when adding new syntax Added file: http://bugs.python.org/file12184/build-evilness-fix.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4347> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com