summaryrefslogtreecommitdiffstats
path: root/Python/frozen.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2003-07-15 20:23:26 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2003-07-15 20:23:26 (GMT)
commit1955fcf67aebb99c06715864de468a6be6ab9a6c (patch)
treee621ff2087b3c0e3306d423ef9d9f422990994f5 /Python/frozen.c
parent35c38eaeae8d24fe0098f3942135b3ba28cffe85 (diff)
downloadcpython-1955fcf67aebb99c06715864de468a6be6ab9a6c.zip
cpython-1955fcf67aebb99c06715864de468a6be6ab9a6c.tar.gz
cpython-1955fcf67aebb99c06715864de468a6be6ab9a6c.tar.bz2
SF patch 763201: handling of SyntaxErrors in symbol table build
Fixes for three related bugs, including errors that caused a script to be ignored without printing an error message. The key problem was a bad interaction between syntax warnings and syntax errors. If an exception was already set when a warning was issued, the warning could clobber the exception. The PyErr_Occurred() check in issue_warning() isn't entirely satisfying (the caller should know whether there was already an error), but a better solution isn't immediately obvious. Bug fix candidate.
Diffstat (limited to 'Python/frozen.c')
0 files changed, 0 insertions, 0 deletions