mirror of https://github.com/python/cpython
Fix some mods that got dropped from the AST merge
This commit is contained in:
parent
58a7985465
commit
5f5153e871
|
@ -543,7 +543,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throw)
|
||||||
#ifdef LLTRACE
|
#ifdef LLTRACE
|
||||||
int lltrace;
|
int lltrace;
|
||||||
#endif
|
#endif
|
||||||
#if defined(Py_DEBUG)
|
#if defined(Py_DEBUG) || defined(LLTRACE)
|
||||||
/* Make it easier to find out where we are with a debugger */
|
/* Make it easier to find out where we are with a debugger */
|
||||||
char *filename;
|
char *filename;
|
||||||
#endif
|
#endif
|
||||||
|
@ -745,7 +745,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throw)
|
||||||
#ifdef LLTRACE
|
#ifdef LLTRACE
|
||||||
lltrace = PyDict_GetItemString(f->f_globals, "__lltrace__") != NULL;
|
lltrace = PyDict_GetItemString(f->f_globals, "__lltrace__") != NULL;
|
||||||
#endif
|
#endif
|
||||||
#if defined(Py_DEBUG)
|
#if defined(Py_DEBUG) || defined(LLTRACE)
|
||||||
filename = PyString_AsString(co->co_filename);
|
filename = PyString_AsString(co->co_filename);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue