Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 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 | 8b88e1bc0e1b |
| children | 9e53a7112395 |
line wrap: on
line diff
--- a/Python/pythonrun.c Fri Apr 14 14:01:34 2000 +0000 +++ b/Python/pythonrun.c Fri Apr 14 19:13:24 2000 +0000 @@ -149,6 +149,8 @@ /* Init Unicode implementation; relies on the codec registry */ _PyUnicode_Init(); + _PyCompareState_Key = PyString_InternFromString("cmp_state"); + bimod = _PyBuiltin_Init_1(); if (bimod == NULL) Py_FatalError("Py_Initialize: can't initialize __builtin__");
