From: Guido van Rossum Date: Mon, 3 Nov 1997 22:08:36 +0000 (+0000) Subject: The warning about thread still having a frame now only happens in X-Git-Tag: v1.5b1~132 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=22348dc0e18d9c60ac340c449f801b5ce29cbba9;p=thirdparty%2FPython%2Fcpython.git The warning about thread still having a frame now only happens in verbose mode. --- diff --git a/Python/pystate.c b/Python/pystate.c index bdb456b0694c..f1dc4138db7d 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -149,7 +149,7 @@ void PyThreadState_Clear(tstate) PyThreadState *tstate; { - if (tstate->frame != NULL) + if (Py_VerboseFlag && tstate->frame != NULL) fprintf(stderr, "PyThreadState_Clear: warning: thread still has a frame\n");