diff Python/thread_pthread.h @ 29869:3442e7cdace8 legacy-trunk

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.
author Jeremy Hylton <jeremy@alum.mit.edu>
date Tue, 15 Jul 2003 20:23:26 +0000
parents 40d287c3d906
children a408ac5527c3
line wrap: on
line diff