diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-04-14 19:13:24 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-04-14 19:13:24 (GMT) |
commit | 4a3dd2dcc2fae12b6736822731848c557b80d0e3 (patch) | |
tree | 14c6c5f32289f00d0328daff5a23ea50c06f23e0 /Include | |
parent | 0556501a810467fcb18f0a0f312b475dff27d20b (diff) | |
download | cpython-4a3dd2dcc2fae12b6736822731848c557b80d0e3.zip cpython-4a3dd2dcc2fae12b6736822731848c557b80d0e3.tar.gz cpython-4a3dd2dcc2fae12b6736822731848c557b80d0e3.tar.bz2 |
Fix PR#7 comparisons of recursive objects
Note that comparisons of deeply nested objects can still dump core in
extreme cases.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/object.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h index 77f5c55..fabf0b6 100644 --- a/Include/object.h +++ b/Include/object.h @@ -284,6 +284,9 @@ extern DL_IMPORT(int) PyNumber_CoerceEx Py_PROTO((PyObject **, PyObject **)); 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. */ |