Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove more remnants of deepfreeze #118159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove more remnants of deepfreeze
  • Loading branch information
gvanrossum committed Apr 22, 2024
commit e5dbeee56aecb577aaa1c70f69a94f734c8a0ebe
Binary file added BIN +1.78 MB Include/incl.tar
Binary file not shown.
5 changes: 0 additions & 5 deletions 5 Include/internal/pycore_code.h
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,6 @@ extern void _Py_Specialize_Send(PyObject *receiver, _Py_CODEUNIT *instr);
extern void _Py_Specialize_ToBool(PyObject *value, _Py_CODEUNIT *instr);
extern void _Py_Specialize_ContainsOp(PyObject *value, _Py_CODEUNIT *instr);

/* Finalizer function for static codeobjects used in deepfreeze.py */
extern void _PyStaticCode_Fini(PyCodeObject *co);
/* Function to intern strings of codeobjects and quicken the bytecode */
extern int _PyStaticCode_Init(PyCodeObject *co);

#ifdef Py_STATS

#include "pycore_bitutils.h" // _Py_bit_length
Expand Down
2 changes: 0 additions & 2 deletions 2 Include/internal/pycore_pylifecycle.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ extern PyStatus _Py_HashRandomization_Init(const PyConfig *);

extern PyStatus _PyGC_Init(PyInterpreterState *interp);
extern PyStatus _PyAtExit_Init(PyInterpreterState *interp);
extern int _Py_Deepfreeze_Init(void);

/* Various internal finalizers */

Expand All @@ -58,7 +57,6 @@ extern void _PyWarnings_Fini(PyInterpreterState *interp);
extern void _PyAST_Fini(PyInterpreterState *interp);
extern void _PyAtExit_Fini(PyInterpreterState *interp);
extern void _PyThread_FiniType(PyInterpreterState *interp);
extern void _Py_Deepfreeze_Fini(void);
extern void _PyArg_Fini(void);
extern void _Py_FinalizeAllocatedBlocks(_PyRuntimeState *);

Expand Down
11 changes: 0 additions & 11 deletions 11 Programs/_bootstrap_python.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down
11 changes: 0 additions & 11 deletions 11 Programs/_freeze_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.