Mercurial > cpython-lru_cache-weakref
diff Python/ceval.c @ 35745:407c3dacbd7c legacy-trunk
Fix some mods that got dropped from the AST merge
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Fri, 21 Oct 2005 04:28:38 +0000 |
| parents | 1c4d192f1568 |
| children | 9541369b0dca |
line wrap: on
line diff
--- a/Python/ceval.c Fri Oct 21 04:23:36 2005 +0000 +++ b/Python/ceval.c Fri Oct 21 04:28:38 2005 +0000 @@ -543,7 +543,7 @@ #ifdef LLTRACE int lltrace; #endif -#if defined(Py_DEBUG) +#if defined(Py_DEBUG) || defined(LLTRACE) /* Make it easier to find out where we are with a debugger */ char *filename; #endif @@ -745,7 +745,7 @@ #ifdef LLTRACE lltrace = PyDict_GetItemString(f->f_globals, "__lltrace__") != NULL; #endif -#if defined(Py_DEBUG) +#if defined(Py_DEBUG) || defined(LLTRACE) filename = PyString_AsString(co->co_filename); #endif
