Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 47291:04bd3690fb1f legacy-trunk
First step of the C API rename:
renamed Include/bytesobject.h to Include/bytearrayobject.h
renamed Include/stringobject.h to Include/bytesobject.h
added Include/stringobject.h with aliases
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Mon, 26 May 2008 12:29:14 +0000 |
| parents | 1fdfb29f4fb8 |
| children | 4fe192d48960 |
comparison
equal
deleted
inserted
replaced
| 47289:0b974258e15b | 47291:04bd3690fb1f |
|---|---|
| 167 Py_FatalError("Py_Initialize: can't init frames"); | 167 Py_FatalError("Py_Initialize: can't init frames"); |
| 168 | 168 |
| 169 if (!_PyInt_Init()) | 169 if (!_PyInt_Init()) |
| 170 Py_FatalError("Py_Initialize: can't init ints"); | 170 Py_FatalError("Py_Initialize: can't init ints"); |
| 171 | 171 |
| 172 if (!PyBytes_Init()) | 172 if (!PyByteArray_Init()) |
| 173 Py_FatalError("Py_Initialize: can't init bytearray"); | 173 Py_FatalError("Py_Initialize: can't init bytearray"); |
| 174 | 174 |
| 175 _PyFloat_Init(); | 175 _PyFloat_Init(); |
| 176 | 176 |
| 177 interp->modules = PyDict_New(); | 177 interp->modules = PyDict_New(); |
| 449 PyCFunction_Fini(); | 449 PyCFunction_Fini(); |
| 450 PyTuple_Fini(); | 450 PyTuple_Fini(); |
| 451 PyList_Fini(); | 451 PyList_Fini(); |
| 452 PySet_Fini(); | 452 PySet_Fini(); |
| 453 PyString_Fini(); | 453 PyString_Fini(); |
| 454 PyBytes_Fini(); | 454 PyByteArray_Fini(); |
| 455 PyInt_Fini(); | 455 PyInt_Fini(); |
| 456 PyFloat_Fini(); | 456 PyFloat_Fini(); |
| 457 PyDict_Fini(); | 457 PyDict_Fini(); |
| 458 | 458 |
| 459 #ifdef Py_USING_UNICODE | 459 #ifdef Py_USING_UNICODE |
