[issue2238] TypeError instead of SyntaxError for syntactically invalid gen exp

Amaury Forgeot d'Arc report at bugs.python.org
Wed Mar 5 02:51:12 CET 2008


Amaury Forgeot d'Arc added the comment:

Interestingly, in debug mode, the message "XXX undetected error" is
printed to stderr.
And this gives the solution: in ast.c, some calls did not check the
return status.

Committed revision 61240, will backport to 2.5.
Thanks for the report!
Thanks for the report!

----------
nosy: +amaury.forgeotdarc
resolution:  -> fixed
status: open -> pending

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2238>
__________________________________


More information about the Python-bugs-list mailing list