summaryrefslogtreecommitdiffstats
path: root/Programs
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2024-04-22 19:17:57 (GMT)
committerGitHub <noreply@github.com>2024-04-22 19:17:57 (GMT)
commit4c7bfdff90544deb5d2055fcbe4db4c2a231e95d (patch)
treebb3c57dc5993e8939e7b9a323029f9b9c8d4dcc3 /Programs
parent8974a63f5ee0557e14db97eb1284a5dd8c49f8f7 (diff)
downloadcpython-4c7bfdff90544deb5d2055fcbe4db4c2a231e95d.zip
cpython-4c7bfdff90544deb5d2055fcbe4db4c2a231e95d.tar.gz
cpython-4c7bfdff90544deb5d2055fcbe4db4c2a231e95d.tar.bz2
Remove more remnants of deepfreeze (#118159)
Diffstat (limited to 'Programs')
-rw-r--r--Programs/_bootstrap_python.c11
-rw-r--r--Programs/_freeze_module.c11
2 files changed, 0 insertions, 22 deletions
diff --git a/Programs/_bootstrap_python.c b/Programs/_bootstrap_python.c
index 34f7919..6443d81 100644
--- a/Programs/_bootstrap_python.c
+++ b/Programs/_bootstrap_python.c
@@ -15,17 +15,6 @@
#include "Python/frozen_modules/zipimport.h"
/* End includes */
-/* Empty initializer for deepfrozen modules */
-int _Py_Deepfreeze_Init(void)
-{
- return 0;
-}
-/* Empty finalizer for deepfrozen modules */
-void
-_Py_Deepfreeze_Fini(void)
-{
-}
-
/* Note that a negative size indicates a package. */
static const struct _frozen bootstrap_modules[] = {
diff --git a/Programs/_freeze_module.c b/Programs/_freeze_module.c
index 3de6c68..2a462a4 100644
--- a/Programs/_freeze_module.c
+++ b/Programs/_freeze_module.c
@@ -22,17 +22,6 @@
# include <unistd.h>
#endif
-/* Empty initializer for deepfrozen modules */
-int _Py_Deepfreeze_Init(void)
-{
- return 0;
-}
-/* Empty finalizer for deepfrozen modules */
-void
-_Py_Deepfreeze_Fini(void)
-{
-}
-
/* To avoid a circular dependency on frozen.o, we create our own structure
of frozen modules instead, left deliberately blank so as to avoid
unintentional import of a stale version of _frozen_importlib. */