commit | 22348dc0e18d9c60ac340c449f801b5ce29cbba9 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Nov 03 22:08:36 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Nov 03 22:08:36 1997 +0000 |
tree | 30fd9778f5d4a8d1ee7ceceaa940eca345da408a | |
parent | 8607ae2e570c9a9c31419418d5665b4eb4853003 [diff] [blame] |
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 bdb456b..f1dc413 100644 --- a/Python/pystate.c +++ b/Python/pystate.c
@@ -149,7 +149,7 @@ 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");