diff options
author | Fred Drake <fdrake@acm.org> | 2000-08-15 15:49:03 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-08-15 15:49:03 (GMT) |
commit | 83cb7973802441f1f6c7115bc8eb83d64534b853 (patch) | |
tree | 2480cf6ef04a93abc00517e34963e295fd82db9f /Python/getversion.c | |
parent | 1aba5770939c497c707eecd167856f98c9bb74c0 (diff) | |
download | cpython-83cb7973802441f1f6c7115bc8eb83d64534b853.zip cpython-83cb7973802441f1f6c7115bc8eb83d64534b853.tar.gz cpython-83cb7973802441f1f6c7115bc8eb83d64534b853.tar.bz2 |
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).
Diffstat (limited to 'Python/getversion.c')
0 files changed, 0 insertions, 0 deletions