]> granicus.if.org Git - python/commit
SyntaxError__str__(): Do more formatting of the exception here, rather
authorFred Drake <fdrake@acm.org>
Tue, 15 Aug 2000 15:46:16 +0000 (15:46 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 15 Aug 2000 15:46:16 +0000 (15:46 +0000)
commit1aba5770939c497c707eecd167856f98c9bb74c0
treec07dd5e61ba899eb006934e12c7b1797fbc58736
parentf40ff1b8b23671818702aeff2c17a409588dff0b
SyntaxError__str__():  Do more formatting of the exception here, rather
than depending on the site that raises the exception.  If the
filename and lineno attributes are set on the exception object,
use them to augment the message displayed.

This is part of what is needed to close SoruceForge bug #110628
(Jitterbug PR#278).
Python/exceptions.c