Antoine Pitrou <pit...@free.fr> added the comment: > Oh, I thought we never rely on exception "message" for anything > important. However this seems to be an exception for that exception. > :-)
I think you're missing the point. People usually don't catch SyntaxError and run fallback code in this case. And even if they do, they are unlikely to care about whether the ErreurDeSyntaxe is due to a genuinely faulty piece of code, or a parser limitation ;) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11343> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com