X7ROOT File Manager
Current Path:
/opt/alt/python311/include/python3.11/internal
opt
/
alt
/
python311
/
include
/
python3.11
/
internal
/
ðŸ“
..
📄
pycore_abstract.h
(611 B)
📄
pycore_accu.h
(1.1 KB)
📄
pycore_asdl.h
(2.96 KB)
📄
pycore_ast.h
(28.63 KB)
📄
pycore_ast_state.h
(6.4 KB)
📄
pycore_atomic.h
(16.58 KB)
📄
pycore_atomic_funcs.h
(2.38 KB)
📄
pycore_bitutils.h
(5.92 KB)
📄
pycore_blocks_output_buffer.h
(8.48 KB)
📄
pycore_bytes_methods.h
(3.3 KB)
📄
pycore_bytesobject.h
(1.39 KB)
📄
pycore_call.h
(3.39 KB)
📄
pycore_ceval.h
(4.31 KB)
📄
pycore_code.h
(15.56 KB)
📄
pycore_compile.h
(1.02 KB)
📄
pycore_condvar.h
(2.77 KB)
📄
pycore_context.h
(1.21 KB)
📄
pycore_dict.h
(5.55 KB)
📄
pycore_dtoa.h
(704 B)
📄
pycore_emscripten_signal.h
(562 B)
📄
pycore_exceptions.h
(842 B)
📄
pycore_fileutils.h
(7.23 KB)
📄
pycore_floatobject.h
(1.28 KB)
📄
pycore_format.h
(480 B)
📄
pycore_frame.h
(7.39 KB)
📄
pycore_function.h
(413 B)
📄
pycore_gc.h
(6.73 KB)
📄
pycore_genobject.h
(1.14 KB)
📄
pycore_getopt.h
(490 B)
📄
pycore_gil.h
(1.53 KB)
📄
pycore_global_objects.h
(1.4 KB)
📄
pycore_global_strings.h
(12.68 KB)
📄
pycore_hamt.h
(3.61 KB)
📄
pycore_hashtable.h
(4.1 KB)
📄
pycore_import.h
(743 B)
📄
pycore_initconfig.h
(5.66 KB)
📄
pycore_interp.h
(6.51 KB)
📄
pycore_interpreteridobject.h
(562 B)
📄
pycore_list.h
(1.32 KB)
📄
pycore_long.h
(3.43 KB)
📄
pycore_moduleobject.h
(1.02 KB)
📄
pycore_namespace.h
(392 B)
📄
pycore_object.h
(9.8 KB)
📄
pycore_opcode.h
(18.54 KB)
📄
pycore_parser.h
(626 B)
📄
pycore_pathconfig.h
(606 B)
📄
pycore_pyarena.h
(2.67 KB)
📄
pycore_pyerrors.h
(2.44 KB)
📄
pycore_pyhash.h
(206 B)
📄
pycore_pylifecycle.h
(3.42 KB)
📄
pycore_pymath.h
(9.21 KB)
📄
pycore_pymem.h
(3.62 KB)
📄
pycore_pystate.h
(4.15 KB)
📄
pycore_runtime.h
(5.85 KB)
📄
pycore_runtime_init.h
(47.94 KB)
📄
pycore_signal.h
(937 B)
📄
pycore_sliceobject.h
(336 B)
📄
pycore_strhex.h
(937 B)
📄
pycore_structseq.h
(580 B)
📄
pycore_symtable.h
(5.51 KB)
📄
pycore_sysmodule.h
(605 B)
📄
pycore_traceback.h
(3.42 KB)
📄
pycore_tuple.h
(2.04 KB)
📄
pycore_typeobject.h
(1.13 KB)
📄
pycore_ucnhash.h
(898 B)
📄
pycore_unicodeobject.h
(1.68 KB)
📄
pycore_unionobject.h
(678 B)
📄
pycore_warnings.h
(740 B)
Editing: pycore_ceval.h
#ifndef Py_INTERNAL_CEVAL_H #define Py_INTERNAL_CEVAL_H #ifdef __cplusplus extern "C" { #endif #ifndef Py_BUILD_CORE # error "this header requires Py_BUILD_CORE define" #endif /* Forward declarations */ struct pyruntimestate; struct _ceval_runtime_state; /* WASI has limited call stack. Python's recursion limit depends on code layout, optimization, and WASI runtime. Wasmtime can handle about 700-750 recursions, sometimes less. 600 is a more conservative limit. */ #ifndef Py_DEFAULT_RECURSION_LIMIT # ifdef __wasi__ # define Py_DEFAULT_RECURSION_LIMIT 600 # else # define Py_DEFAULT_RECURSION_LIMIT 1000 # endif #endif #include "pycore_interp.h" // PyInterpreterState.eval_frame #include "pycore_pystate.h" // _PyThreadState_GET() extern void _Py_FinishPendingCalls(PyThreadState *tstate); extern void _PyEval_InitRuntimeState(struct _ceval_runtime_state *); extern void _PyEval_InitState(struct _ceval_state *, PyThread_type_lock); extern void _PyEval_FiniState(struct _ceval_state *ceval); PyAPI_FUNC(void) _PyEval_SignalReceived(PyInterpreterState *interp); PyAPI_FUNC(int) _PyEval_AddPendingCall( PyInterpreterState *interp, int (*func)(void *), void *arg); PyAPI_FUNC(void) _PyEval_SignalAsyncExc(PyInterpreterState *interp); #ifdef HAVE_FORK extern PyStatus _PyEval_ReInitThreads(PyThreadState *tstate); #endif // Used by sys.call_tracing() extern PyObject* _PyEval_CallTracing(PyObject *func, PyObject *args); // Used by sys.get_asyncgen_hooks() extern PyObject* _PyEval_GetAsyncGenFirstiter(void); extern PyObject* _PyEval_GetAsyncGenFinalizer(void); // Used by sys.set_asyncgen_hooks() extern int _PyEval_SetAsyncGenFirstiter(PyObject *); extern int _PyEval_SetAsyncGenFinalizer(PyObject *); // Used by sys.get_coroutine_origin_tracking_depth() // and sys.set_coroutine_origin_tracking_depth() extern int _PyEval_GetCoroutineOriginTrackingDepth(void); extern int _PyEval_SetCoroutineOriginTrackingDepth(int depth); extern void _PyEval_Fini(void); extern PyObject* _PyEval_GetBuiltins(PyThreadState *tstate); extern PyObject* _PyEval_BuiltinsFromGlobals( PyThreadState *tstate, PyObject *globals); static inline PyObject* _PyEval_EvalFrame(PyThreadState *tstate, struct _PyInterpreterFrame *frame, int throwflag) { if (tstate->interp->eval_frame == NULL) { return _PyEval_EvalFrameDefault(tstate, frame, throwflag); } return tstate->interp->eval_frame(tstate, frame, throwflag); } extern PyObject* _PyEval_Vector(PyThreadState *tstate, PyFunctionObject *func, PyObject *locals, PyObject* const* args, size_t argcount, PyObject *kwnames); extern int _PyEval_ThreadsInitialized(struct pyruntimestate *runtime); extern PyStatus _PyEval_InitGIL(PyThreadState *tstate); extern void _PyEval_FiniGIL(PyInterpreterState *interp); extern void _PyEval_ReleaseLock(PyThreadState *tstate); extern void _PyEval_DeactivateOpCache(void); /* --- _Py_EnterRecursiveCall() ----------------------------------------- */ #ifdef USE_STACKCHECK /* With USE_STACKCHECK macro defined, trigger stack checks in _Py_CheckRecursiveCall() on every 64th call to _Py_EnterRecursiveCall. */ static inline int _Py_MakeRecCheck(PyThreadState *tstate) { return (tstate->recursion_remaining-- <= 0 || (tstate->recursion_remaining & 63) == 0); } #else static inline int _Py_MakeRecCheck(PyThreadState *tstate) { return tstate->recursion_remaining-- <= 0; } #endif PyAPI_FUNC(int) _Py_CheckRecursiveCall( PyThreadState *tstate, const char *where); static inline int _Py_EnterRecursiveCallTstate(PyThreadState *tstate, const char *where) { return (_Py_MakeRecCheck(tstate) && _Py_CheckRecursiveCall(tstate, where)); } static inline int _Py_EnterRecursiveCall(const char *where) { PyThreadState *tstate = _PyThreadState_GET(); return _Py_EnterRecursiveCallTstate(tstate, where); } static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) { tstate->recursion_remaining++; } static inline void _Py_LeaveRecursiveCall(void) { PyThreadState *tstate = _PyThreadState_GET(); _Py_LeaveRecursiveCallTstate(tstate); } extern struct _PyInterpreterFrame* _PyEval_GetFrame(void); extern PyObject* _Py_MakeCoro(PyFunctionObject *func); #ifdef __cplusplus } #endif #endif /* !Py_INTERNAL_CEVAL_H */
Upload File
Create Folder