From: Fred Drake <fdrake@acm.org> Date: Wed, 3 Oct 2001 21:12:32 +0000 (+0000) Subject: Undo previous patch; it did not quite work out. X-Git-Tag: v2.2.1c1~1479 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0bc9993e77afc32660082a392f9af7fef428648;p=python Undo previous patch; it did not quite work out. --- diff --git a/Lib/profile.py b/Lib/profile.py index b58af1ea80..91679052b2 100755 --- a/Lib/profile.py +++ b/Lib/profile.py @@ -241,7 +241,7 @@ class Profile: def trace_dispatch_exception(self, frame, t): rt, rtt, rct, rfn, rframe, rcur = self.cur - if (rframe is frame) and rcur: + if (rframe is not frame) and rcur: return self.trace_dispatch_return(rframe, t) return 0