diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ceval.c | 2 | ||||
-rw-r--r-- | Python/pythonrun.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 041ae4dfc3..3fa03c0afd 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -288,7 +288,7 @@ eval_code(co, globals, locals, owner, arg) #ifdef LLTRACE int lltrace; #endif -#ifdef DEBUG +#if defined( DEBUG ) || defined( LLTRACE ) /* Make it easier to find out where we are with dbx */ char *filename = getstringvalue(co->co_filename); #endif diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 96f385f9e2..734b72b0c4 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -155,7 +155,7 @@ run_tty_loop(fp, filename) for (;;) { ret = run_tty_1(fp, filename); #ifdef REF_DEBUG - fprintf(stderr, "[%ld refs]\n", ref_total); + fprintf(stderr, "[%ld refs]\n", _Py_RefTotal); #endif if (ret == E_EOF) return 0; @@ -664,7 +664,7 @@ goaway(sts) err_clear(); #ifdef REF_DEBUG - fprintf(stderr, "[%ld refs]\n", ref_total); + fprintf(stderr, "[%ld refs]\n", _Py_RefTotal); #endif #ifdef TRACE_REFS |