[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
include
/
python3.6m
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 Python-ast.h
22,274 B
SET
[ EDIT ]
|
[ DEL ]
📄 Python.h
3,221 B
SET
[ EDIT ]
|
[ DEL ]
📄 _hashopenssl.h
1,365 B
SET
[ EDIT ]
|
[ DEL ]
📄 abstract.h
47,451 B
SET
[ EDIT ]
|
[ DEL ]
📄 accu.h
1,016 B
SET
[ EDIT ]
|
[ DEL ]
📄 asdl.h
1,213 B
SET
[ EDIT ]
|
[ DEL ]
📄 ast.h
477 B
SET
[ EDIT ]
|
[ DEL ]
📄 bitset.h
792 B
SET
[ EDIT ]
|
[ DEL ]
📄 bltinmodule.h
264 B
SET
[ EDIT ]
|
[ DEL ]
📄 boolobject.h
886 B
SET
[ EDIT ]
|
[ DEL ]
📄 bytearrayobject.h
2,114 B
SET
[ EDIT ]
|
[ DEL ]
📄 bytes_methods.h
3,191 B
SET
[ EDIT ]
|
[ DEL ]
📄 bytesobject.h
8,363 B
SET
[ EDIT ]
|
[ DEL ]
📄 cellobject.h
701 B
SET
[ EDIT ]
|
[ DEL ]
📄 ceval.h
8,524 B
SET
[ EDIT ]
|
[ DEL ]
📄 classobject.h
1,666 B
SET
[ EDIT ]
|
[ DEL ]
📄 code.h
5,945 B
SET
[ EDIT ]
|
[ DEL ]
📄 codecs.h
6,793 B
SET
[ EDIT ]
|
[ DEL ]
📄 compile.h
2,164 B
SET
[ EDIT ]
|
[ DEL ]
📄 complexobject.h
1,807 B
SET
[ EDIT ]
|
[ DEL ]
📄 datetime.h
9,414 B
SET
[ EDIT ]
|
[ DEL ]
📄 descrobject.h
2,964 B
SET
[ EDIT ]
|
[ DEL ]
📄 dictobject.h
7,178 B
SET
[ EDIT ]
|
[ DEL ]
📄 dtoa.h
458 B
SET
[ EDIT ]
|
[ DEL ]
📄 dynamic_annotations.h
22,469 B
SET
[ EDIT ]
|
[ DEL ]
📄 enumobject.h
253 B
SET
[ EDIT ]
|
[ DEL ]
📄 errcode.h
1,497 B
SET
[ EDIT ]
|
[ DEL ]
📄 eval.h
597 B
SET
[ EDIT ]
|
[ DEL ]
📄 fileobject.h
1,651 B
SET
[ EDIT ]
|
[ DEL ]
📄 fileutils.h
3,524 B
SET
[ EDIT ]
|
[ DEL ]
📄 floatobject.h
4,794 B
SET
[ EDIT ]
|
[ DEL ]
📄 frameobject.h
3,530 B
SET
[ EDIT ]
|
[ DEL ]
📄 funcobject.h
4,079 B
SET
[ EDIT ]
|
[ DEL ]
📄 genobject.h
3,583 B
SET
[ EDIT ]
|
[ DEL ]
📄 graminit.h
1,966 B
SET
[ EDIT ]
|
[ DEL ]
📄 grammar.h
2,074 B
SET
[ EDIT ]
|
[ DEL ]
📄 import.h
4,233 B
SET
[ EDIT ]
|
[ DEL ]
📄 intrcheck.h
513 B
SET
[ EDIT ]
|
[ DEL ]
📄 iterobject.h
567 B
SET
[ EDIT ]
|
[ DEL ]
📄 listobject.h
2,900 B
SET
[ EDIT ]
|
[ DEL ]
📄 longintrepr.h
3,761 B
SET
[ EDIT ]
|
[ DEL ]
📄 longobject.h
9,830 B
SET
[ EDIT ]
|
[ DEL ]
📄 marshal.h
803 B
SET
[ EDIT ]
|
[ DEL ]
📄 memoryobject.h
2,765 B
SET
[ EDIT ]
|
[ DEL ]
📄 metagrammar.h
253 B
SET
[ EDIT ]
|
[ DEL ]
📄 methodobject.h
3,847 B
SET
[ EDIT ]
|
[ DEL ]
📄 modsupport.h
7,317 B
SET
[ EDIT ]
|
[ DEL ]
📄 moduleobject.h
2,285 B
SET
[ EDIT ]
|
[ DEL ]
📄 namespaceobject.h
349 B
SET
[ EDIT ]
|
[ DEL ]
📄 node.h
1,007 B
SET
[ EDIT ]
|
[ DEL ]
📄 object.h
42,203 B
SET
[ EDIT ]
|
[ DEL ]
📄 objimpl.h
14,244 B
SET
[ EDIT ]
|
[ DEL ]
📄 odictobject.h
1,288 B
SET
[ EDIT ]
|
[ DEL ]
📄 opcode.h
5,073 B
SET
[ EDIT ]
|
[ DEL ]
📄 osdefs.h
691 B
SET
[ EDIT ]
|
[ DEL ]
📄 osmodule.h
291 B
SET
[ EDIT ]
|
[ DEL ]
📄 parsetok.h
2,885 B
SET
[ EDIT ]
|
[ DEL ]
📄 patchlevel.h
1,128 B
SET
[ EDIT ]
|
[ DEL ]
📄 pgen.h
253 B
SET
[ EDIT ]
|
[ DEL ]
📄 pgenheaders.h
1,180 B
SET
[ EDIT ]
|
[ DEL ]
📄 py_curses.h
4,307 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyarena.h
2,744 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyatomic.h
8,128 B
SET
[ EDIT ]
|
[ DEL ]
📄 pycapsule.h
1,726 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyconfig-64.h
44,622 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyconfig.h
162 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyctype.h
1,320 B
SET
[ EDIT ]
|
[ DEL ]
📄 pydebug.h
1,264 B
SET
[ EDIT ]
|
[ DEL ]
📄 pydtrace.h
1,970 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyerrors.h
17,219 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyexpat.h
2,450 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyfpe.h
8,471 B
SET
[ EDIT ]
|
[ DEL ]
📄 pygetopt.h
410 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyhash.h
4,139 B
SET
[ EDIT ]
|
[ DEL ]
📄 pylifecycle.h
4,078 B
SET
[ EDIT ]
|
[ DEL ]
📄 pymacconfig.h
2,989 B
SET
[ EDIT ]
|
[ DEL ]
📄 pymacro.h
3,500 B
SET
[ EDIT ]
|
[ DEL ]
📄 pymath.h
8,312 B
SET
[ EDIT ]
|
[ DEL ]
📄 pymem.h
8,557 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyport.h
27,573 B
SET
[ EDIT ]
|
[ DEL ]
📄 pystate.h
11,146 B
SET
[ EDIT ]
|
[ DEL ]
📄 pystrcmp.h
436 B
SET
[ EDIT ]
|
[ DEL ]
📄 pystrhex.h
495 B
SET
[ EDIT ]
|
[ DEL ]
📄 pystrtod.h
1,483 B
SET
[ EDIT ]
|
[ DEL ]
📄 pythonrun.h
6,782 B
SET
[ EDIT ]
|
[ DEL ]
📄 pythread.h
2,992 B
SET
[ EDIT ]
|
[ DEL ]
📄 pytime.h
7,609 B
SET
[ EDIT ]
|
[ DEL ]
📄 rangeobject.h
629 B
SET
[ EDIT ]
|
[ DEL ]
📄 setobject.h
3,333 B
SET
[ EDIT ]
|
[ DEL ]
📄 sliceobject.h
2,485 B
SET
[ EDIT ]
|
[ DEL ]
📄 structmember.h
2,018 B
SET
[ EDIT ]
|
[ DEL ]
📄 structseq.h
1,353 B
SET
[ EDIT ]
|
[ DEL ]
📄 symtable.h
4,994 B
SET
[ EDIT ]
|
[ DEL ]
📄 sysmodule.h
1,355 B
SET
[ EDIT ]
|
[ DEL ]
📄 token.h
1,943 B
SET
[ EDIT ]
|
[ DEL ]
📄 traceback.h
3,644 B
SET
[ EDIT ]
|
[ DEL ]
📄 tupleobject.h
2,444 B
SET
[ EDIT ]
|
[ DEL ]
📄 typeslots.h
2,253 B
SET
[ EDIT ]
|
[ DEL ]
📄 ucnhash.h
1,056 B
SET
[ EDIT ]
|
[ DEL ]
📄 unicodeobject.h
81,779 B
SET
[ EDIT ]
|
[ DEL ]
📄 warnings.h
1,693 B
SET
[ EDIT ]
|
[ DEL ]
📄 weakrefobject.h
2,866 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: pystate.h
/* Thread and interpreter state structures and their interfaces */ #ifndef Py_PYSTATE_H #define Py_PYSTATE_H #ifdef __cplusplus extern "C" { #endif /* This limitation is for performance and simplicity. If needed it can be removed (with effort). */ #define MAX_CO_EXTRA_USERS 255 /* State shared between threads */ struct _ts; /* Forward */ struct _is; /* Forward */ struct _frame; /* Forward declaration for PyFrameObject. */ #ifdef Py_LIMITED_API typedef struct _is PyInterpreterState; #else typedef PyObject* (*_PyFrameEvalFunction)(struct _frame *, int); typedef struct _is { struct _is *next; struct _ts *tstate_head; PyObject *modules; PyObject *modules_by_index; PyObject *sysdict; PyObject *builtins; PyObject *importlib; PyObject *codec_search_path; PyObject *codec_search_cache; PyObject *codec_error_registry; int codecs_initialized; int fscodec_initialized; #ifdef HAVE_DLOPEN int dlopenflags; #endif PyObject *builtins_copy; PyObject *import_func; /* Initialized to PyEval_EvalFrameDefault(). */ _PyFrameEvalFunction eval_frame; } PyInterpreterState; #endif typedef struct _co_extra_state { struct _co_extra_state *next; PyInterpreterState* interp; Py_ssize_t co_extra_user_count; freefunc co_extra_freefuncs[MAX_CO_EXTRA_USERS]; } __PyCodeExtraState; /* This is temporary for backwards compat in 3.6 and will be removed in 3.7 */ __PyCodeExtraState* __PyCodeExtraState_Get(void); /* State unique per thread */ #ifndef Py_LIMITED_API /* Py_tracefunc return -1 when raising an exception, or 0 for success. */ typedef int (*Py_tracefunc)(PyObject *, struct _frame *, int, PyObject *); /* The following values are used for 'what' for tracefunc functions: */ #define PyTrace_CALL 0 #define PyTrace_EXCEPTION 1 #define PyTrace_LINE 2 #define PyTrace_RETURN 3 #define PyTrace_C_CALL 4 #define PyTrace_C_EXCEPTION 5 #define PyTrace_C_RETURN 6 #endif #ifdef Py_LIMITED_API typedef struct _ts PyThreadState; #else typedef struct _ts { /* See Python/ceval.c for comments explaining most fields */ struct _ts *prev; struct _ts *next; PyInterpreterState *interp; struct _frame *frame; int recursion_depth; char overflowed; /* The stack has overflowed. Allow 50 more calls to handle the runtime error. */ char recursion_critical; /* The current calls must not cause a stack overflow. */ /* 'tracing' keeps track of the execution depth when tracing/profiling. This is to prevent the actual trace/profile code from being recorded in the trace/profile. */ int tracing; int use_tracing; Py_tracefunc c_profilefunc; Py_tracefunc c_tracefunc; PyObject *c_profileobj; PyObject *c_traceobj; PyObject *curexc_type; PyObject *curexc_value; PyObject *curexc_traceback; PyObject *exc_type; PyObject *exc_value; PyObject *exc_traceback; PyObject *dict; /* Stores per-thread state */ int gilstate_counter; PyObject *async_exc; /* Asynchronous exception to raise */ long thread_id; /* Thread id where this tstate was created */ int trash_delete_nesting; PyObject *trash_delete_later; /* Called when a thread state is deleted normally, but not when it * is destroyed after fork(). * Pain: to prevent rare but fatal shutdown errors (issue 18808), * Thread.join() must wait for the join'ed thread's tstate to be unlinked * from the tstate chain. That happens at the end of a thread's life, * in pystate.c. * The obvious way doesn't quite work: create a lock which the tstate * unlinking code releases, and have Thread.join() wait to acquire that * lock. The problem is that we _are_ at the end of the thread's life: * if the thread holds the last reference to the lock, decref'ing the * lock will delete the lock, and that may trigger arbitrary Python code * if there's a weakref, with a callback, to the lock. But by this time * _PyThreadState_Current is already NULL, so only the simplest of C code * can be allowed to run (in particular it must not be possible to * release the GIL). * So instead of holding the lock directly, the tstate holds a weakref to * the lock: that's the value of on_delete_data below. Decref'ing a * weakref is harmless. * on_delete points to _threadmodule.c's static release_sentinel() function. * After the tstate is unlinked, release_sentinel is called with the * weakref-to-lock (on_delete_data) argument, and release_sentinel releases * the indirectly held lock. */ void (*on_delete)(void *); void *on_delete_data; PyObject *coroutine_wrapper; int in_coroutine_wrapper; /* Now used from PyInterpreterState, kept here for ABI compatibility with PyThreadState */ Py_ssize_t _preserve_36_ABI_1; freefunc _preserve_36_ABI_2[MAX_CO_EXTRA_USERS]; PyObject *async_gen_firstiter; PyObject *async_gen_finalizer; /* XXX signal handlers should also be here */ } PyThreadState; #endif PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_New(void); PyAPI_FUNC(void) PyInterpreterState_Clear(PyInterpreterState *); PyAPI_FUNC(void) PyInterpreterState_Delete(PyInterpreterState *); #ifndef Py_LIMITED_API PyAPI_FUNC(int) _PyState_AddModule(PyObject*, struct PyModuleDef*); #endif /* !Py_LIMITED_API */ #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000 /* New in 3.3 */ PyAPI_FUNC(int) PyState_AddModule(PyObject*, struct PyModuleDef*); PyAPI_FUNC(int) PyState_RemoveModule(struct PyModuleDef*); #endif PyAPI_FUNC(PyObject*) PyState_FindModule(struct PyModuleDef*); #ifndef Py_LIMITED_API PyAPI_FUNC(void) _PyState_ClearModules(void); #endif PyAPI_FUNC(PyThreadState *) PyThreadState_New(PyInterpreterState *); #ifndef Py_LIMITED_API PyAPI_FUNC(PyThreadState *) _PyThreadState_Prealloc(PyInterpreterState *); PyAPI_FUNC(void) _PyThreadState_Init(PyThreadState *); #endif /* !Py_LIMITED_API */ PyAPI_FUNC(void) PyThreadState_Clear(PyThreadState *); PyAPI_FUNC(void) PyThreadState_Delete(PyThreadState *); #ifndef Py_LIMITED_API PyAPI_FUNC(void) _PyThreadState_DeleteExcept(PyThreadState *tstate); #endif /* !Py_LIMITED_API */ #ifdef WITH_THREAD PyAPI_FUNC(void) PyThreadState_DeleteCurrent(void); #ifndef Py_LIMITED_API PyAPI_FUNC(void) _PyGILState_Reinit(void); #endif /* !Py_LIMITED_API */ #endif /* Return the current thread state. The global interpreter lock must be held. * When the current thread state is NULL, this issues a fatal error (so that * the caller needn't check for NULL). */ PyAPI_FUNC(PyThreadState *) PyThreadState_Get(void); #ifndef Py_LIMITED_API /* Similar to PyThreadState_Get(), but don't issue a fatal error * if it is NULL. */ PyAPI_FUNC(PyThreadState *) _PyThreadState_UncheckedGet(void); #endif /* !Py_LIMITED_API */ PyAPI_FUNC(PyThreadState *) PyThreadState_Swap(PyThreadState *); PyAPI_FUNC(PyObject *) PyThreadState_GetDict(void); PyAPI_FUNC(int) PyThreadState_SetAsyncExc(long, PyObject *); /* Variable and macro for in-line access to current thread state */ /* Assuming the current thread holds the GIL, this is the PyThreadState for the current thread. */ #ifdef Py_BUILD_CORE PyAPI_DATA(_Py_atomic_address) _PyThreadState_Current; # define PyThreadState_GET() \ ((PyThreadState*)_Py_atomic_load_relaxed(&_PyThreadState_Current)) #else # define PyThreadState_GET() PyThreadState_Get() #endif typedef enum {PyGILState_LOCKED, PyGILState_UNLOCKED} PyGILState_STATE; #ifdef WITH_THREAD /* Ensure that the current thread is ready to call the Python C API, regardless of the current state of Python, or of its thread lock. This may be called as many times as desired by a thread so long as each call is matched with a call to PyGILState_Release(). In general, other thread-state APIs may be used between _Ensure() and _Release() calls, so long as the thread-state is restored to its previous state before the Release(). For example, normal use of the Py_BEGIN_ALLOW_THREADS/ Py_END_ALLOW_THREADS macros are acceptable. The return value is an opaque "handle" to the thread state when PyGILState_Ensure() was called, and must be passed to PyGILState_Release() to ensure Python is left in the same state. Even though recursive calls are allowed, these handles can *not* be shared - each unique call to PyGILState_Ensure must save the handle for its call to PyGILState_Release. When the function returns, the current thread will hold the GIL. Failure is a fatal error. */ PyAPI_FUNC(PyGILState_STATE) PyGILState_Ensure(void); /* Release any resources previously acquired. After this call, Python's state will be the same as it was prior to the corresponding PyGILState_Ensure() call (but generally this state will be unknown to the caller, hence the use of the GILState API.) Every call to PyGILState_Ensure must be matched by a call to PyGILState_Release on the same thread. */ PyAPI_FUNC(void) PyGILState_Release(PyGILState_STATE); /* Helper/diagnostic function - get the current thread state for this thread. May return NULL if no GILState API has been used on the current thread. Note that the main thread always has such a thread-state, even if no auto-thread-state call has been made on the main thread. */ PyAPI_FUNC(PyThreadState *) PyGILState_GetThisThreadState(void); #ifndef Py_LIMITED_API /* Issue #26558: Flag to disable PyGILState_Check(). If set to non-zero, PyGILState_Check() always return 1. */ PyAPI_DATA(int) _PyGILState_check_enabled; /* Helper/diagnostic function - return 1 if the current thread currently holds the GIL, 0 otherwise. The function returns 1 if _PyGILState_check_enabled is non-zero. */ PyAPI_FUNC(int) PyGILState_Check(void); /* Unsafe function to get the single PyInterpreterState used by this process' GILState implementation. Return NULL before _PyGILState_Init() is called and after _PyGILState_Fini() is called. */ PyAPI_FUNC(PyInterpreterState *) _PyGILState_GetInterpreterStateUnsafe(void); #endif #endif /* #ifdef WITH_THREAD */ /* The implementation of sys._current_frames() Returns a dict mapping thread id to that thread's current frame. */ #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) _PyThread_CurrentFrames(void); #endif /* Routines for advanced debuggers, requested by David Beazley. Don't use unless you know what you are doing! */ #ifndef Py_LIMITED_API PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Head(void); PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Next(PyInterpreterState *); PyAPI_FUNC(PyThreadState *) PyInterpreterState_ThreadHead(PyInterpreterState *); PyAPI_FUNC(PyThreadState *) PyThreadState_Next(PyThreadState *); typedef struct _frame *(*PyThreadFrameGetter)(PyThreadState *self_); #endif /* hook for PyEval_GetFrame(), requested for Psyco */ #ifndef Py_LIMITED_API PyAPI_DATA(PyThreadFrameGetter) _PyThreadState_GetFrame; #endif #ifdef __cplusplus } #endif #endif /* !Py_PYSTATE_H */