Current Path: > > opt > alt > python312 > include > python3.12 > > internal
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
pycore_abstract.h | File | 611 bytes | June 03 2025 15:41:47. | |
pycore_asdl.h | File | 3035 bytes | June 03 2025 15:41:47. | |
pycore_ast.h | File | 31288 bytes | June 03 2025 15:41:47. | |
pycore_ast_state.h | File | 6749 bytes | June 03 2025 15:41:47. | |
pycore_atexit.h | File | 1149 bytes | June 03 2025 15:41:47. | |
pycore_atomic.h | File | 16979 bytes | June 03 2025 15:41:47. | |
pycore_atomic_funcs.h | File | 2438 bytes | June 03 2025 15:41:47. | |
pycore_bitutils.h | File | 6062 bytes | June 03 2025 15:41:47. | |
pycore_blocks_output_buffer.h | File | 8688 bytes | June 03 2025 15:41:47. | |
pycore_bytes_methods.h | File | 3384 bytes | June 03 2025 15:41:47. | |
pycore_bytesobject.h | File | 1339 bytes | June 03 2025 15:41:47. | |
pycore_call.h | File | 3920 bytes | June 03 2025 15:41:47. | |
pycore_ceval.h | File | 5265 bytes | June 03 2025 15:41:47. | |
pycore_ceval_state.h | File | 2744 bytes | June 03 2025 15:41:47. | |
pycore_code.h | File | 15835 bytes | June 03 2025 15:41:47. | |
pycore_compile.h | File | 3453 bytes | June 03 2025 15:41:47. | |
pycore_condvar.h | File | 2909 bytes | June 03 2025 15:41:47. | |
pycore_context.h | File | 1301 bytes | June 03 2025 15:41:47. | |
pycore_descrobject.h | File | 499 bytes | June 03 2025 15:41:47. | |
pycore_dict.h | File | 6384 bytes | June 03 2025 15:41:47. | |
pycore_dict_state.h | File | 1095 bytes | June 03 2025 15:41:47. | |
pycore_dtoa.h | File | 1615 bytes | June 03 2025 15:41:47. | |
pycore_emscripten_signal.h | File | 562 bytes | June 03 2025 15:41:47. | |
pycore_exceptions.h | File | 842 bytes | June 03 2025 15:41:47. | |
pycore_faulthandler.h | File | 2220 bytes | June 03 2025 15:41:47. | |
pycore_fileutils.h | File | 7910 bytes | June 03 2025 15:41:47. | |
pycore_fileutils_windows.h | File | 2724 bytes | June 03 2025 15:41:47. | |
pycore_floatobject.h | File | 1578 bytes | June 03 2025 15:41:47. | |
pycore_flowgraph.h | File | 4630 bytes | June 03 2025 15:41:47. | |
pycore_format.h | File | 480 bytes | June 03 2025 15:41:47. | |
pycore_frame.h | File | 9255 bytes | June 03 2025 15:41:47. | |
pycore_function.h | File | 611 bytes | June 03 2025 15:41:47. | |
pycore_gc.h | File | 7658 bytes | June 03 2025 15:41:47. | |
pycore_genobject.h | File | 1186 bytes | June 03 2025 15:41:47. | |
pycore_getopt.h | File | 490 bytes | June 03 2025 15:41:47. | |
pycore_gil.h | File | 1565 bytes | June 03 2025 15:41:47. | |
pycore_global_objects.h | File | 3035 bytes | June 03 2025 15:41:47. | |
pycore_global_objects_fini_generated.h | File | 115361 bytes | June 03 2025 15:41:47. | |
pycore_global_strings.h | File | 25438 bytes | June 03 2025 15:41:47. | |
pycore_hamt.h | File | 3742 bytes | June 03 2025 15:41:47. | |
pycore_hashtable.h | File | 4286 bytes | June 03 2025 15:41:47. | |
pycore_import.h | File | 6358 bytes | June 03 2025 15:41:47. | |
pycore_initconfig.h | File | 5706 bytes | June 03 2025 15:41:47. | |
pycore_instruments.h | File | 2998 bytes | June 03 2025 15:41:47. | |
pycore_interp.h | File | 9086 bytes | June 03 2025 15:41:47. | |
pycore_intrinsics.h | File | 1397 bytes | June 03 2025 15:41:47. | |
pycore_list.h | File | 1980 bytes | June 03 2025 15:41:47. | |
pycore_long.h | File | 7805 bytes | June 03 2025 15:41:47. | |
pycore_memoryobject.h | File | 383 bytes | June 03 2025 15:41:47. | |
pycore_moduleobject.h | File | 1192 bytes | June 03 2025 15:41:47. | |
pycore_namespace.h | File | 392 bytes | June 03 2025 15:41:47. | |
pycore_object.h | File | 14917 bytes | June 03 2025 15:41:47. | |
pycore_object_state.h | File | 1016 bytes | June 03 2025 15:41:47. | |
pycore_obmalloc.h | File | 27284 bytes | June 03 2025 15:41:47. | |
pycore_obmalloc_init.h | File | 2085 bytes | June 03 2025 15:41:47. | |
pycore_opcode.h | File | 20081 bytes | June 03 2025 15:41:47. | |
pycore_opcode_utils.h | File | 2686 bytes | June 03 2025 15:41:47. | |
pycore_parser.h | File | 1358 bytes | June 03 2025 15:41:47. | |
pycore_pathconfig.h | File | 606 bytes | June 03 2025 15:41:47. | |
pycore_pyarena.h | File | 2733 bytes | June 03 2025 15:41:47. | |
pycore_pyerrors.h | File | 3110 bytes | June 03 2025 15:41:47. | |
pycore_pyhash.h | File | 709 bytes | June 03 2025 15:41:47. | |
pycore_pylifecycle.h | File | 3365 bytes | June 03 2025 15:41:47. | |
pycore_pymath.h | File | 8600 bytes | June 03 2025 15:41:47. | |
pycore_pymem.h | File | 3040 bytes | June 03 2025 15:41:47. | |
pycore_pymem_init.h | File | 2654 bytes | June 03 2025 15:41:47. | |
pycore_pystate.h | File | 4982 bytes | June 03 2025 15:41:47. | |
pycore_pythread.h | File | 2075 bytes | June 03 2025 15:41:47. | |
pycore_range.h | File | 346 bytes | June 03 2025 15:41:47. | |
pycore_runtime.h | File | 8429 bytes | June 03 2025 15:41:47. | |
pycore_runtime_init.h | File | 5912 bytes | June 03 2025 15:41:47. | |
pycore_runtime_init_generated.h | File | 45751 bytes | June 03 2025 15:41:47. | |
pycore_signal.h | File | 2611 bytes | June 03 2025 15:41:47. | |
pycore_sliceobject.h | File | 414 bytes | June 03 2025 15:41:47. | |
pycore_strhex.h | File | 937 bytes | June 03 2025 15:41:47. | |
pycore_structseq.h | File | 923 bytes | June 03 2025 15:41:47. | |
pycore_symtable.h | File | 7035 bytes | June 03 2025 15:41:47. | |
pycore_sysmodule.h | File | 999 bytes | June 03 2025 15:41:47. | |
pycore_time.h | File | 388 bytes | June 03 2025 15:41:47. | |
pycore_token.h | File | 3050 bytes | June 03 2025 15:41:47. | |
pycore_traceback.h | File | 3501 bytes | June 03 2025 15:41:47. | |
pycore_tracemalloc.h | File | 3075 bytes | June 03 2025 15:41:47. | |
pycore_tuple.h | File | 2197 bytes | June 03 2025 15:41:47. | |
pycore_typeobject.h | File | 4731 bytes | June 03 2025 15:41:47. | |
pycore_typevarobject.h | File | 763 bytes | June 03 2025 15:41:47. | |
pycore_ucnhash.h | File | 898 bytes | June 03 2025 15:41:47. | |
pycore_unicodeobject.h | File | 2657 bytes | June 03 2025 15:41:47. | |
pycore_unicodeobject_generated.h | File | 125516 bytes | June 03 2025 15:41:47. | |
pycore_unionobject.h | File | 682 bytes | June 03 2025 15:41:47. | |
pycore_warnings.h | File | 740 bytes | June 03 2025 15:41:47. |
#ifndef Py_INTERNAL_PYSTATE_H #define Py_INTERNAL_PYSTATE_H #ifdef __cplusplus extern "C" { #endif #ifndef Py_BUILD_CORE # error "this header requires Py_BUILD_CORE define" #endif #include "pycore_runtime.h" /* PyRuntimeState */ /* Check if the current thread is the main thread. Use _Py_IsMainInterpreter() to check if it's the main interpreter. */ static inline int _Py_IsMainThread(void) { unsigned long thread = PyThread_get_thread_ident(); return (thread == _PyRuntime.main_thread); } static inline PyInterpreterState * _PyInterpreterState_Main(void) { return _PyRuntime.interpreters.main; } static inline int _Py_IsMainInterpreter(PyInterpreterState *interp) { return (interp == _PyInterpreterState_Main()); } static inline int _Py_IsMainInterpreterFinalizing(PyInterpreterState *interp) { /* bpo-39877: Access _PyRuntime directly rather than using tstate->interp->runtime to support calls from Python daemon threads. After Py_Finalize() has been called, tstate can be a dangling pointer: point to PyThreadState freed memory. */ return (_PyRuntimeState_GetFinalizing(&_PyRuntime) != NULL && interp == &_PyRuntime._main_interpreter); } // Export for _xxsubinterpreters module. PyAPI_FUNC(int) _PyInterpreterState_SetRunningMain(PyInterpreterState *); PyAPI_FUNC(void) _PyInterpreterState_SetNotRunningMain(PyInterpreterState *); PyAPI_FUNC(int) _PyInterpreterState_IsRunningMain(PyInterpreterState *); static inline const PyConfig * _Py_GetMainConfig(void) { PyInterpreterState *interp = _PyInterpreterState_Main(); if (interp == NULL) { return NULL; } return _PyInterpreterState_GetConfig(interp); } /* Only handle signals on the main thread of the main interpreter. */ static inline int _Py_ThreadCanHandleSignals(PyInterpreterState *interp) { return (_Py_IsMainThread() && _Py_IsMainInterpreter(interp)); } /* Variable and static inline functions for in-line access to current thread and interpreter state */ #if defined(HAVE_THREAD_LOCAL) && !defined(Py_BUILD_CORE_MODULE) extern _Py_thread_local PyThreadState *_Py_tss_tstate; #endif PyAPI_DATA(PyThreadState *) _PyThreadState_GetCurrent(void); #ifndef NDEBUG extern int _PyThreadState_CheckConsistency(PyThreadState *tstate); #endif extern int _PyThreadState_MustExit(PyThreadState *tstate); /* Get the current Python thread state. This function is unsafe: it does not check for error and it can return NULL. The caller must hold the GIL. See also PyThreadState_Get() and _PyThreadState_UncheckedGet(). */ static inline PyThreadState* _PyThreadState_GET(void) { #if defined(HAVE_THREAD_LOCAL) && !defined(Py_BUILD_CORE_MODULE) return _Py_tss_tstate; #else return _PyThreadState_GetCurrent(); #endif } static inline void _Py_EnsureFuncTstateNotNULL(const char *func, PyThreadState *tstate) { if (tstate == NULL) { _Py_FatalErrorFunc(func, "the function must be called with the GIL held, " "after Python initialization and before Python finalization, " "but the GIL is released (the current Python thread state is NULL)"); } } // Call Py_FatalError() if tstate is NULL #define _Py_EnsureTstateNotNULL(tstate) \ _Py_EnsureFuncTstateNotNULL(__func__, (tstate)) /* Get the current interpreter state. The function is unsafe: it does not check for error and it can return NULL. The caller must hold the GIL. See also _PyInterpreterState_Get() and _PyGILState_GetInterpreterStateUnsafe(). */ static inline PyInterpreterState* _PyInterpreterState_GET(void) { PyThreadState *tstate = _PyThreadState_GET(); #ifdef Py_DEBUG _Py_EnsureTstateNotNULL(tstate); #endif return tstate->interp; } // PyThreadState functions PyAPI_FUNC(PyThreadState *) _PyThreadState_New(PyInterpreterState *interp); PyAPI_FUNC(void) _PyThreadState_Bind(PyThreadState *tstate); // We keep this around exclusively for stable ABI compatibility. PyAPI_FUNC(void) _PyThreadState_Init( PyThreadState *tstate); PyAPI_FUNC(void) _PyThreadState_DeleteExcept(PyThreadState *tstate); /* Other */ PyAPI_FUNC(PyThreadState *) _PyThreadState_Swap( _PyRuntimeState *runtime, PyThreadState *newts); PyAPI_FUNC(PyStatus) _PyInterpreterState_Enable(_PyRuntimeState *runtime); #ifdef HAVE_FORK extern PyStatus _PyInterpreterState_DeleteExceptMain(_PyRuntimeState *runtime); extern void _PySignal_AfterFork(void); #endif PyAPI_FUNC(int) _PyCrossInterpreterData_ReleaseAndRawFree(_PyCrossInterpreterData *); PyAPI_FUNC(int) _PyState_AddModule( PyThreadState *tstate, PyObject* module, PyModuleDef* def); PyAPI_FUNC(int) _PyOS_InterruptOccurred(PyThreadState *tstate); #define HEAD_LOCK(runtime) \ PyThread_acquire_lock((runtime)->interpreters.mutex, WAIT_LOCK) #define HEAD_UNLOCK(runtime) \ PyThread_release_lock((runtime)->interpreters.mutex) #ifdef __cplusplus } #endif #endif /* !Py_INTERNAL_PYSTATE_H */
SILENT KILLER Tool