]> granicus.if.org Git - python/commitdiff
Py_LOCAL shouldn't be used for data; it works for some .NET 2003 compilers,
authorFredrik Lundh <fredrik@pythonware.com>
Fri, 26 May 2006 12:01:49 +0000 (12:01 +0000)
committerFredrik Lundh <fredrik@pythonware.com>
Fri, 26 May 2006 12:01:49 +0000 (12:01 +0000)
but Trent's copy thinks that it's an anachronism...

Python/ceval.c

index da27fff9e277e7019561ddfdc5e10c701f66ce94..c5ae6cc2bb13f7d8caf4ee57ea3ac94567b94f5a 100644 (file)
@@ -105,7 +105,7 @@ Py_LOCAL(PyObject *) load_args(PyObject ***, int);
 #define CALL_FLAG_KW 2
 
 #ifdef LLTRACE
-Py_LOCAL(int) lltrace;
+static int lltrace;
 Py_LOCAL(int) prtrace(PyObject *, char *);
 #endif
 Py_LOCAL(int) call_trace(Py_tracefunc, PyObject *, PyFrameObject *,