[Python-checkins] python/dist/src/Python ceval.c,2.428,2.429
nnorwitz@users.sourceforge.net
nnorwitz at users.sourceforge.net
Fri Oct 21 06:28:41 CEST 2005
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23590/Python
Modified Files:
ceval.c
Log Message:
Fix some mods that got dropped from the AST merge
Index: ceval.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/ceval.c,v
retrieving revision 2.428
retrieving revision 2.429
diff -u -d -r2.428 -r2.429
--- ceval.c 20 Oct 2005 19:59:25 -0000 2.428
+++ ceval.c 21 Oct 2005 04:28:38 -0000 2.429
@@ -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
More information about the Python-checkins
mailing list