From f87902448753ece981b5df938c070320705e5dec Mon Sep 17 00:00:00 2001 From: Armin Rigo Date: Tue, 20 Sep 2005 18:50:13 +0000 Subject: test and fix for buggy handling of exceptions raised by C functions, causing the profiler to crash on an AssertionError if the same Python function catches multiple exceptions from C functions. --- Lib/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/profile.py') diff --git a/Lib/profile.py b/Lib/profile.py index 5a29bd6568..b6048aa0c3 100755 --- a/Lib/profile.py +++ b/Lib/profile.py @@ -368,7 +368,7 @@ class Profile: "exception": trace_dispatch_exception, "return": trace_dispatch_return, "c_call": trace_dispatch_c_call, - "c_exception": trace_dispatch_exception, + "c_exception": trace_dispatch_return, # the C function returned "c_return": trace_dispatch_return, } -- cgit v1.2.1