diff Include/object.h @ 12406:ec6b6ca5d111 legacy-trunk

Fix PR#7 comparisons of recursive objects Note that comparisons of deeply nested objects can still dump core in extreme cases.
author Jeremy Hylton <jeremy@alum.mit.edu>
date Fri, 14 Apr 2000 19:13:24 +0000
parents 8dc0918ae2c2
children a8898a172fe2
line wrap: on
line diff
--- a/Include/object.h	Fri Apr 14 14:01:34 2000 +0000
+++ b/Include/object.h	Fri Apr 14 19:13:24 2000 +0000
@@ -284,6 +284,9 @@
 extern DL_IMPORT(int) Py_ReprEnter Py_PROTO((PyObject *));
 extern DL_IMPORT(void) Py_ReprLeave Py_PROTO((PyObject *));
 
+/* tstate dict key for PyObject_Compare helper */
+extern PyObject *_PyCompareState_Key;
+
 /* Flag bits for printing: */
 #define Py_PRINT_RAW	1	/* No string quotes etc. */