| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -288,11 +288,6 @@ extern void _Py_Specialize_Send(PyObject *receiver, _Py_CODEUNIT *instr); | |||
| 288 | 288 | extern void _Py_Specialize_ToBool(PyObject *value, _Py_CODEUNIT *instr); | |
| 289 | 289 | extern void _Py_Specialize_ContainsOp(PyObject *value, _Py_CODEUNIT *instr); | |
| 290 | 290 | ||
| 291 | - /* Finalizer function for static codeobjects used in deepfreeze.py */ | ||
| 292 | - extern void _PyStaticCode_Fini(PyCodeObject *co); | ||
| 293 | - /* Function to intern strings of codeobjects and quicken the bytecode */ | ||
| 294 | - extern int _PyStaticCode_Init(PyCodeObject *co); | ||
| 295 | - | ||
| 296 | 291 | #ifdef Py_STATS | |
| 297 | 292 | ||
| 298 | 293 | #include "pycore_bitutils.h" // _Py_bit_length | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,7 +42,6 @@ extern PyStatus _Py_HashRandomization_Init(const PyConfig *); | |||
| 42 | 42 | ||
| 43 | 43 | extern PyStatus _PyGC_Init(PyInterpreterState *interp); | |
| 44 | 44 | extern PyStatus _PyAtExit_Init(PyInterpreterState *interp); | |
| 45 | - extern int _Py_Deepfreeze_Init(void); | ||
| 46 | 45 | ||
| 47 | 46 | /* Various internal finalizers */ | |
| 48 | 47 | ||
@@ -58,7 +57,6 @@ extern void _PyWarnings_Fini(PyInterpreterState *interp); | |||
| 58 | 57 | extern void _PyAST_Fini(PyInterpreterState *interp); | |
| 59 | 58 | extern void _PyAtExit_Fini(PyInterpreterState *interp); | |
| 60 | 59 | extern void _PyThread_FiniType(PyInterpreterState *interp); | |
| 61 | - extern void _Py_Deepfreeze_Fini(void); | ||
| 62 | 60 | extern void _PyArg_Fini(void); | |
| 63 | 61 | extern void _Py_FinalizeAllocatedBlocks(_PyRuntimeState *); | |
| 64 | 62 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,17 +15,6 @@ | |||
| 15 | 15 | #include "Python/frozen_modules/zipimport.h" | |
| 16 | 16 | /* End includes */ | |
| 17 | 17 | ||
| 18 | - /* Empty initializer for deepfrozen modules */ | ||
| 19 | - int _Py_Deepfreeze_Init(void) | ||
| 20 | - { | ||
| 21 | - return 0; | ||
| 22 | - } | ||
| 23 | - /* Empty finalizer for deepfrozen modules */ | ||
| 24 | - void | ||
| 25 | - _Py_Deepfreeze_Fini(void) | ||
| 26 | - { | ||
| 27 | - } | ||
| 28 | - | ||
| 29 | 18 | /* Note that a negative size indicates a package. */ | |
| 30 | 19 | ||
| 31 | 20 | static const struct _frozen bootstrap_modules[] = { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,17 +22,6 @@ | |||
| 22 | 22 | # include <unistd.h> | |
| 23 | 23 | #endif | |
| 24 | 24 | ||
| 25 | - /* Empty initializer for deepfrozen modules */ | ||
| 26 | - int _Py_Deepfreeze_Init(void) | ||
| 27 | - { | ||
| 28 | - return 0; | ||
| 29 | - } | ||
| 30 | - /* Empty finalizer for deepfrozen modules */ | ||
| 31 | - void | ||
| 32 | - _Py_Deepfreeze_Fini(void) | ||
| 33 | - { | ||
| 34 | - } | ||
| 35 | - | ||
| 36 | 25 | /* To avoid a circular dependency on frozen.o, we create our own structure | |
| 37 | 26 | of frozen modules instead, left deliberately blank so as to avoid | |
| 38 | 27 | unintentional import of a stale version of _frozen_importlib. */ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments