From 22348dc0e18d9c60ac340c449f801b5ce29cbba9 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 3 Nov 1997 22:08:36 +0000 Subject: [PATCH] The warning about thread still having a frame now only happens in verbose mode. --- Python/pystate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/pystate.c b/Python/pystate.c index bdb456b0694..f1dc4138db7 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");