[Python-checkins] r64927 - python/trunk/Include/object.h

alexandre.vassalotti python-checkins at python.org
Sun Jul 13 22:42:45 CEST 2008


Author: alexandre.vassalotti
Date: Sun Jul 13 22:42:44 2008
New Revision: 64927

Log:
Issue #3274: Use a less common identifier for the temporary variable
in Py_CLEAR().


Modified:
   python/trunk/Include/object.h

Modified: python/trunk/Include/object.h
==============================================================================
--- python/trunk/Include/object.h	(original)
+++ python/trunk/Include/object.h	Sun Jul 13 22:42:44 2008
@@ -773,9 +773,9 @@
 #define Py_CLEAR(op)				\
         do {                            	\
                 if (op) {			\
-                        PyObject *tmp = (PyObject *)(op);	\
+                        PyObject *_py_tmp = (PyObject *)(op);	\
                         (op) = NULL;		\
-                        Py_DECREF(tmp);		\
+                        Py_DECREF(_py_tmp);	\
                 }				\
         } while (0)
 


More information about the Python-checkins mailing list