From c094ac856f7031eae727fa200241da0c88d29951 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 25 May 2000 23:05:36 +0000 Subject: [PATCH] Now that standard exceptions are builtin, we don't need two phase init or fini of the builtin module. _PyBuiltin_Init_1 => _PyBuiltin_Init _PyBuiltin_Init_2 removed _PyBuiltin_Fini_1 removed _PyBuiltin_Fini_2 removed These functions are used to initialize the _exceptions module. init_exceptions added fini_exceptions added --- Include/pythonrun.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 2c1df070ef6..2648d1c0966 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -87,16 +87,13 @@ DL_IMPORT(const char *) Py_GetCompiler Py_PROTO((void)); DL_IMPORT(const char *) Py_GetBuildInfo Py_PROTO((void)); /* Internal -- various one-time initializations */ - -DL_IMPORT(PyObject *) _PyBuiltin_Init_1 Py_PROTO((void)); -DL_IMPORT(void) _PyBuiltin_Init_2 Py_PROTO((PyObject *)); +DL_IMPORT(PyObject *) _PyBuiltin_Init Py_PROTO((void)); DL_IMPORT(PyObject *) _PySys_Init Py_PROTO((void)); DL_IMPORT(void) _PyImport_Init Py_PROTO((void)); +DL_IMPORT(void) init_exceptions Py_PROTO((void)); /* Various internal finalizers */ -DL_IMPORT(void) _PyImport_Fini Py_PROTO((void)); -DL_IMPORT(void) _PyBuiltin_Fini_1 Py_PROTO((void)); -DL_IMPORT(void) _PyBuiltin_Fini_2 Py_PROTO((void)); +DL_IMPORT(void) fini_exceptions Py_PROTO((void)); DL_IMPORT(void) PyMethod_Fini Py_PROTO((void)); DL_IMPORT(void) PyFrame_Fini Py_PROTO((void)); DL_IMPORT(void) PyCFunction_Fini Py_PROTO((void));