[issue11343] Make errors due to full parser stack identifiable

Antoine Pitrou report at bugs.python.org
Tue Jul 19 01:34:38 CEST 2011


Antoine Pitrou <pitrou at 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 <report at bugs.python.org>
<http://bugs.python.org/issue11343>
_______________________________________


More information about the Python-bugs-list mailing list