Files
cpython/Modules
Jeremy Hylton 9263f5797c Fix several bugs in handling of exceptions with trace function enabled.
If the callback raised an exception but did not set curexc_traceback,
the trace function was called with PyTrace_RETURN.  That is, the trace
function was called with an exception set.  The main loop detected the
exception when the trace function returned; it complained and disabled
tracing.

Fix the logic error so that PyTrace_RETURN only occurs if the callback
returned normally.

The trace function must be called for exceptions, too.  So we had
to add new functionality to call with PyTrace_EXCEPTION.  (Leads to a
rather ugly ifdef / else block that contains only a '}'.)

Reverse the logic and name of NOFIX_TRACE to FIX_TRACE.

Joint work with Fred.
2003-06-27 16:13:17 +00:00
..
2003-02-02 17:08:33 +00:00
2000-06-30 16:09:01 +00:00
2003-05-09 10:45:20 +00:00
2002-07-17 16:30:39 +00:00
2003-06-18 19:25:37 +00:00
2003-06-11 00:18:09 +00:00
2002-12-06 12:48:53 +00:00
2003-03-01 15:19:41 +00:00
2002-08-07 16:21:51 +00:00
2002-10-30 21:08:34 +00:00
2002-07-17 16:30:39 +00:00
2003-05-23 14:35:24 +00:00
2003-06-16 18:51:28 +00:00
1996-01-26 21:10:22 +00:00
2003-02-13 18:44:57 +00:00