New import grammar causes a coredump in the ast- branch. Attached is a fix. After this is applied we start getting coredumps from generator expressions in the test suite. I'm reasonably sure (and correct me if I'm wrong) that the generator expressions fix is more elaborate, as it requires patches to the bytecode generation as well.
Logged In: YES user_id=149084 Neal has checked in a fix to ast.c which corrects the coredump due to import errors. This dump was first seen after merging trunk to ast-branch 07Jan05. This patch is out of date and at this point represents a different refactoring than what Neal has done.
Logged In: YES user_id=33168 Sorry, I didn't realize this patch existed before fixing import. This patch looks like it might be a bit cleaner. As for the genexpr fix, yes, it is much more involved. I added some support to move things along. At this point what's required is to use the original patches and mold into the new AST code. The original checkin that is most important is here: http://mail.python.org/pipermail/python-checkins/2004-May/040900.html