diff options
| author | Guido van Rossum <guido@python.org> | 1997-11-03 22:08:36 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1997-11-03 22:08:36 +0000 |
| commit | 20dfd85707b742d2ac158e61cc8f53e6292092a5 (patch) | |
| tree | 6adac0784e18b1751bdf0b7aaac932d15c2606cb /Python/pystate.c | |
| parent | 836e042060b375ad9b6575bf0bade7d3179d3681 (diff) | |
| download | cpython-20dfd85707b742d2ac158e61cc8f53e6292092a5.tar.gz | |
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 bdb456b069..f1dc4138db 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"); |
