@@ -28,32 +28,13 @@ Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallFunction(
28
28
Py_DEPRECATED (3.9 ) PyAPI_FUNC (PyObject * ) PyEval_CallMethod (
29
29
PyObject * obj , const char * name , const char * format , ...);
30
30
31
- #ifndef Py_LIMITED_API
32
- PyAPI_FUNC (void ) PyEval_SetProfile (Py_tracefunc , PyObject * );
33
- PyAPI_FUNC (void ) PyEval_SetTrace (Py_tracefunc , PyObject * );
34
- PyAPI_FUNC (int ) _PyEval_GetCoroutineOriginTrackingDepth (void );
35
- PyAPI_FUNC (void ) _PyEval_SetAsyncGenFirstiter (PyObject * );
36
- PyAPI_FUNC (PyObject * ) _PyEval_GetAsyncGenFirstiter (void );
37
- PyAPI_FUNC (void ) _PyEval_SetAsyncGenFinalizer (PyObject * );
38
- PyAPI_FUNC (PyObject * ) _PyEval_GetAsyncGenFinalizer (void );
39
- #endif
40
-
41
31
struct _frame ; /* Avoid including frameobject.h */
42
32
43
33
PyAPI_FUNC (PyObject * ) PyEval_GetBuiltins (void );
44
34
PyAPI_FUNC (PyObject * ) PyEval_GetGlobals (void );
45
35
PyAPI_FUNC (PyObject * ) PyEval_GetLocals (void );
46
36
PyAPI_FUNC (struct _frame * ) PyEval_GetFrame (void );
47
37
48
- #ifndef Py_LIMITED_API
49
- /* Helper to look up a builtin object */
50
- PyAPI_FUNC (PyObject * ) _PyEval_GetBuiltinId (_Py_Identifier * );
51
- /* Look at the current frame's (if any) code's co_flags, and turn on
52
- the corresponding compiler flags in cf->cf_flags. Return 1 if any
53
- flag was set, else return 0. */
54
- PyAPI_FUNC (int ) PyEval_MergeCompilerFlags (PyCompilerFlags * cf );
55
- #endif
56
-
57
38
PyAPI_FUNC (int ) Py_AddPendingCall (int (* func )(void * ), void * arg );
58
39
PyAPI_FUNC (int ) Py_MakePendingCalls (void );
59
40
@@ -101,9 +82,6 @@ PyAPI_FUNC(const char *) PyEval_GetFuncDesc(PyObject *);
101
82
102
83
PyAPI_FUNC (PyObject * ) PyEval_EvalFrame (struct _frame * );
103
84
PyAPI_FUNC (PyObject * ) PyEval_EvalFrameEx (struct _frame * f , int exc );
104
- #ifndef Py_LIMITED_API
105
- PyAPI_FUNC (PyObject * ) _PyEval_EvalFrameDefault (struct _frame * f , int exc );
106
- #endif
107
85
108
86
/* Interface for threads.
109
87
@@ -160,15 +138,6 @@ Py_DEPRECATED(3.2) PyAPI_FUNC(void) PyEval_AcquireLock(void);
160
138
PyAPI_FUNC (void ) PyEval_AcquireThread (PyThreadState * tstate );
161
139
PyAPI_FUNC (void ) PyEval_ReleaseThread (PyThreadState * tstate );
162
140
163
- #ifndef Py_LIMITED_API
164
- PyAPI_FUNC (void ) _PyEval_SetSwitchInterval (unsigned long microseconds );
165
- PyAPI_FUNC (unsigned long ) _PyEval_GetSwitchInterval (void );
166
- #endif
167
-
168
- #ifndef Py_LIMITED_API
169
- PyAPI_FUNC (Py_ssize_t ) _PyEval_RequestCodeExtraIndex (freefunc );
170
- #endif
171
-
172
141
#define Py_BEGIN_ALLOW_THREADS { \
173
142
PyThreadState *_save; \
174
143
_save = PyEval_SaveThread();
@@ -177,11 +146,6 @@ PyAPI_FUNC(Py_ssize_t) _PyEval_RequestCodeExtraIndex(freefunc);
177
146
#define Py_END_ALLOW_THREADS PyEval_RestoreThread(_save); \
178
147
}
179
148
180
- #ifndef Py_LIMITED_API
181
- PyAPI_FUNC (int ) _PyEval_SliceIndex (PyObject * , Py_ssize_t * );
182
- PyAPI_FUNC (int ) _PyEval_SliceIndexNotNone (PyObject * , Py_ssize_t * );
183
- #endif
184
-
185
149
/* Masks and values used by FORMAT_VALUE opcode. */
186
150
#define FVC_MASK 0x3
187
151
#define FVC_NONE 0x0
0 commit comments