Don't call Py_FatalError in module initialization

(leaving the rest of the modules for Barry)
This commit is contained in:
Jeremy Hylton 2000-09-01 03:46:16 +00:00
parent d320c348f8
commit 51ee09b995
2 changed files with 0 additions and 7 deletions

View file

@ -2352,8 +2352,4 @@ init_curses(void)
SetDictInt("KEY_MIN", KEY_MIN);
SetDictInt("KEY_MAX", KEY_MAX);
}
/* Check for errors */
if (PyErr_Occurred())
Py_FatalError("can't initialize module _curses");
}

View file

@ -452,7 +452,4 @@ init_locale(void)
x = PyString_FromString(locale__doc__);
PyDict_SetItemString(d, "__doc__", x);
Py_XDECREF(x);
if (PyErr_Occurred())
Py_FatalError("Can't initialize module _locale");
}