diff options
author | Fred Drake <fdrake@acm.org> | 2000-08-15 15:49:03 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-08-15 15:49:03 +0000 |
commit | 2030d19cdf01eda50c32279341cd31b101446a6c (patch) | |
tree | f1c5e5e342cefcca83d4ef46648723be0b5c0260 /Python/exceptions.c | |
parent | 8e31c71ae735d23a9d67ae6713ba03577ca591b8 (diff) | |
download | cpython-2030d19cdf01eda50c32279341cd31b101446a6c.tar.gz |
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/exceptions.c')
0 files changed, 0 insertions, 0 deletions