comparison Python/pythonrun.c @ 26923:dbfc3ef7d003 legacy-trunk

Since the *_Init() are private, prefix with _, suggested by Skip
author Neal Norwitz <nnorwitz@gmail.com>
date Tue, 31 Dec 2002 03:42:13 +0000
parents 12753e7b15f7
children 8b53b0ce06d4
comparison
equal deleted inserted replaced
26922:9d0580acb45f 26923:dbfc3ef7d003
122 Py_FatalError("Py_Initialize: can't make first thread"); 122 Py_FatalError("Py_Initialize: can't make first thread");
123 (void) PyThreadState_Swap(tstate); 123 (void) PyThreadState_Swap(tstate);
124 124
125 _Py_ReadyTypes(); 125 _Py_ReadyTypes();
126 126
127 if (!PyFrame_Init()) 127 if (!_PyFrame_Init())
128 Py_FatalError("Py_Initialize: can't init frames"); 128 Py_FatalError("Py_Initialize: can't init frames");
129 129
130 if (!PyInt_Init()) 130 if (!_PyInt_Init())
131 Py_FatalError("Py_Initialize: can't init ints"); 131 Py_FatalError("Py_Initialize: can't init ints");
132 132
133 interp->modules = PyDict_New(); 133 interp->modules = PyDict_New();
134 if (interp->modules == NULL) 134 if (interp->modules == NULL)
135 Py_FatalError("Py_Initialize: can't make modules dictionary"); 135 Py_FatalError("Py_Initialize: can't make modules dictionary");