]> granicus.if.org Git - python/commit
When raising a SyntaxError, make a best-effort attempt to set the
authorFred Drake <fdrake@acm.org>
Tue, 15 Aug 2000 15:49:03 +0000 (15:49 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 15 Aug 2000 15:49:03 +0000 (15:49 +0000)
commit83cb7973802441f1f6c7115bc8eb83d64534b853
tree2480cf6ef04a93abc00517e34963e295fd82db9f
parent1aba5770939c497c707eecd167856f98c9bb74c0
When raising a SyntaxError, make a best-effort attempt to set the
filename and lineno attributes, but do not mask the SyntaxError if we
fail.

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