Nick Coghlan <ncogh...@gmail.com> added the comment:

Yeah, at the level of *code* the origin doesn't really matter, so re-using the 
exception type is actually OK. However, for *people* seeing the stack trace, it 
may be useful to know what's genuinely illegal syntax and what's a limitation 
of the current implementation. The exception message is a good place for that 
additional detail.

----------

_______________________________________
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

Reply via email to