[Python-checkins] CVS: python/dist/src/Python pythonrun.c,2.91,2.92
Jeremy Hylton
python-dev@python.org
Fri, 14 Apr 2000 15:13:27 -0400 (EDT)
Update of /projects/cvsroot/python/dist/src/Python
In directory bitdiddle:/home/jhylton/python/src/Python
Modified Files:
pythonrun.c
Log Message:
Fix PR#7 comparisons of recursive objects
Note that comparisons of deeply nested objects can still dump core in
extreme cases.
Index: pythonrun.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Python/pythonrun.c,v
retrieving revision 2.91
retrieving revision 2.92
diff -C2 -r2.91 -r2.92
*** pythonrun.c 2000/03/10 23:03:54 2.91
--- pythonrun.c 2000/04/14 19:13:24 2.92
***************
*** 150,153 ****
--- 150,155 ----
_PyUnicode_Init();
+ _PyCompareState_Key = PyString_InternFromString("cmp_state");
+
bimod = _PyBuiltin_Init_1();
if (bimod == NULL)