diff options
author | Fred Drake <fdrake@acm.org> | 2001-10-04 19:26:43 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-10-04 19:26:43 (GMT) |
commit | 4ec5d5699de7a67dac59a59077ee8d0a777df586 (patch) | |
tree | cd26b96a9ff7c86373300f29f9098e98f6c2fffd /Tools/scripts/reindent.py | |
parent | d1de6eacf22caf95aba6d76058267c8f5b6543b8 (diff) | |
download | cpython-4ec5d5699de7a67dac59a59077ee8d0a777df586.zip cpython-4ec5d5699de7a67dac59a59077ee8d0a777df586.tar.gz cpython-4ec5d5699de7a67dac59a59077ee8d0a777df586.tar.bz2 |
Fix bug in profiler modifications detected only in debug builds.
The new profiler event stream includes a "return" event even when an
exception is being propogated, but the machinery that called the profile
hook did not save & restore the exception. In debug mode, the exception
was detected during the execution of the profile callback, which did not
have the proper internal flags set for the exception. Saving & restoring
the exception state solves the problem.
Diffstat (limited to 'Tools/scripts/reindent.py')
0 files changed, 0 insertions, 0 deletions