Author: guido.van.rossum
Date: Wed Nov 22 05:45:33 2006
New Revision: 52819

Modified:
   python/branches/p3yk/Python/ceval.c
Log:
Make it compile with older compilers.


Modified: python/branches/p3yk/Python/ceval.c
==============================================================================
--- python/branches/p3yk/Python/ceval.c (original)
+++ python/branches/p3yk/Python/ceval.c Wed Nov 22 05:45:33 2006
@@ -2721,11 +2721,11 @@
                        for (i = co->co_argcount;
                             i < co->co_argcount + co->co_kwonlyargcount;
                             i++) {
+                               PyObject *name, *def;
                                if (GETLOCAL(i) != NULL)
                                        continue;
-                               PyObject *name =
-                                   PyTuple_GET_ITEM(co->co_varnames, i);
-                               PyObject *def = NULL;
+                               name = PyTuple_GET_ITEM(co->co_varnames, i);
+                               def = NULL;
                                if (kwdefs != NULL)
                                        def = PyDict_GetItem(kwdefs, name);
                                if (def != NULL) {
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to