PATH: //proc/self/root/opt/alt/python311/include/python3.11d/internal
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 pycore_abstract.h
↓
X
📄 pycore_accu.h
↓
X
📄 pycore_asdl.h
↓
X
📄 pycore_ast.h
↓
X
📄 pycore_ast_state.h
↓
X
📄 pycore_atomic.h
↓
X
📄 pycore_atomic_funcs.h
↓
X
📄 pycore_bitutils.h
↓
X
📄 pycore_blocks_output_buffer.h
↓
X
📄 pycore_bytes_methods.h
↓
X
📄 pycore_bytesobject.h
↓
X
📄 pycore_call.h
↓
X
📄 pycore_ceval.h
↓
X
📄 pycore_code.h
↓
X
📄 pycore_compile.h
↓
X
📄 pycore_condvar.h
↓
X
📄 pycore_context.h
↓
X
📄 pycore_dict.h
↓
X
📄 pycore_dtoa.h
↓
X
📄 pycore_emscripten_signal.h
↓
X
📄 pycore_exceptions.h
↓
X
📄 pycore_fileutils.h
↓
X
📄 pycore_floatobject.h
↓
X
📄 pycore_format.h
↓
X
📄 pycore_frame.h
↓
X
📄 pycore_function.h
↓
X
📄 pycore_gc.h
↓
X
📄 pycore_genobject.h
↓
X
📄 pycore_getopt.h
↓
X
📄 pycore_gil.h
↓
X
📄 pycore_global_objects.h
↓
X
📄 pycore_global_strings.h
↓
X
📄 pycore_hamt.h
↓
X
📄 pycore_hashtable.h
↓
X
📄 pycore_import.h
↓
X
📄 pycore_initconfig.h
↓
X
📄 pycore_interp.h
↓
X
📄 pycore_interpreteridobject.h
↓
X
📄 pycore_list.h
↓
X
📄 pycore_long.h
↓
X
📄 pycore_moduleobject.h
↓
X
📄 pycore_namespace.h
↓
X
📄 pycore_object.h
↓
X
📄 pycore_opcode.h
↓
X
📄 pycore_parser.h
↓
X
📄 pycore_pathconfig.h
↓
X
📄 pycore_pyarena.h
↓
X
📄 pycore_pyerrors.h
↓
X
📄 pycore_pyhash.h
↓
X
📄 pycore_pylifecycle.h
↓
X
📄 pycore_pymath.h
↓
X
📄 pycore_pymem.h
↓
X
📄 pycore_pystate.h
↓
X
📄 pycore_runtime.h
↓
X
📄 pycore_runtime_init.h
↓
X
📄 pycore_signal.h
↓
X
📄 pycore_sliceobject.h
↓
X
📄 pycore_strhex.h
↓
X
📄 pycore_structseq.h
↓
X
📄 pycore_symtable.h
↓
X
📄 pycore_sysmodule.h
↓
X
📄 pycore_traceback.h
↓
X
📄 pycore_tuple.h
↓
X
📄 pycore_typeobject.h
↓
X
📄 pycore_ucnhash.h
↓
X
📄 pycore_unicodeobject.h
↓
X
📄 pycore_unionobject.h
↓
X
📄 pycore_warnings.h
↓
X
SAVING...
BERHASIL DIUBAH!
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 */
SIMPAN PERUBAHAN