From c21165a2532ad0703bb5d5c08cd4d86a2abf608a Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Fri, 14 Apr 2000 19:13:24 +0000 Subject: Fix PR#7 comparisons of recursive objects Note that comparisons of deeply nested objects can still dump core in extreme cases. --- Python/pythonrun.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Python/pythonrun.c') diff --git a/Python/pythonrun.c b/Python/pythonrun.c index eb93d47ebe..0ae15fafa2 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -149,6 +149,8 @@ Py_Initialize() /* 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__"); -- cgit v1.2.1