[Python-checkins] python/dist/src/Lib profile.py,1.62,1.63
arigo@users.sourceforge.net
arigo at users.sourceforge.net
Tue Sep 20 20:50:16 CEST 2005
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26353
Modified Files:
profile.py
Log Message:
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.
Index: profile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/profile.py,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- profile.py 3 Mar 2005 11:39:44 -0000 1.62
+++ profile.py 20 Sep 2005 18:50:13 -0000 1.63
@@ -368,7 +368,7 @@
"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,
}
More information about the Python-checkins
mailing list