Commit 7023644e authored by Thomas Nyberg's avatar Thomas Nyberg Committed by Benjamin Peterson

closes bpo-32980 Remove _PyFrame_Init (GH-5965)

parent 0e6c8ee2
......@@ -148,7 +148,6 @@ PyAPI_FUNC(int) _PySys_EndInit(PyObject *sysdict, _PyMainInterpreterConfig *conf
PyAPI_FUNC(_PyInitError) _PyImport_Init(PyInterpreterState *interp);
PyAPI_FUNC(void) _PyExc_Init(PyObject * bltinmod);
PyAPI_FUNC(_PyInitError) _PyImportHooks_Init(void);
PyAPI_FUNC(int) _PyFrame_Init(void);
PyAPI_FUNC(int) _PyFloat_Init(void);
PyAPI_FUNC(int) PyByteArray_Init(void);
PyAPI_FUNC(_PyInitError) _Py_HashRandomization_Init(const _PyCoreConfig *);
......
......@@ -552,14 +552,6 @@ PyTypeObject PyFrame_Type = {
_Py_IDENTIFIER(__builtins__);
int _PyFrame_Init()
{
/* Before, PyId___builtins__ was a string created explicitly in
this function. Now there is nothing to initialize anymore, but
the function is kept for backward compatibility. */
return 1;
}
PyFrameObject* _Py_HOT_FUNCTION
_PyFrame_New_NoTrack(PyThreadState *tstate, PyCodeObject *code,
PyObject *globals, PyObject *locals)
......
......@@ -690,9 +690,6 @@ _Py_InitializeCore(const _PyCoreConfig *core_config)
_Py_ReadyTypes();
if (!_PyFrame_Init())
return _Py_INIT_ERR("can't init frames");
if (!_PyLong_Init())
return _Py_INIT_ERR("can't init longs");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment