diff options
author | Guido van Rossum <guido@python.org> | 1997-11-03 22:08:36 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-11-03 22:08:36 (GMT) |
commit | 22348dc0e18d9c60ac340c449f801b5ce29cbba9 (patch) | |
tree | 30fd9778f5d4a8d1ee7ceceaa940eca345da408a /Python/pystate.c | |
parent | 8607ae2e570c9a9c31419418d5665b4eb4853003 (diff) | |
download | cpython-22348dc0e18d9c60ac340c449f801b5ce29cbba9.zip cpython-22348dc0e18d9c60ac340c449f801b5ce29cbba9.tar.gz cpython-22348dc0e18d9c60ac340c449f801b5ce29cbba9.tar.bz2 |
The warning about thread still having a frame now only happens in
verbose mode.
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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"); |