summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/reindent.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-04 19:26:43 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-04 19:26:43 (GMT)
commit4ec5d5699de7a67dac59a59077ee8d0a777df586 (patch)
treecd26b96a9ff7c86373300f29f9098e98f6c2fffd /Tools/scripts/reindent.py
parentd1de6eacf22caf95aba6d76058267c8f5b6543b8 (diff)
downloadcpython-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