102 items
NAME ↑ SIZE MODIFIED PERMS ACTIONS
.. / Parent Directory
cpython — dir
2026-06-04 04:18 · rwxr-xr-x
2026-06-04 04:18 rwxr-xr-x
internal — dir
2026-06-04 04:18 · rwxr-xr-x
2026-06-04 04:18 rwxr-xr-x
abstract.h — 29.76 KB
2025-10-31 18:40 · rw-r--r--
29.76 KB 2025-10-31 18:40 rw-r--r--
asdl.h — 1.2 KB
2025-10-31 18:40 · rw-r--r--
1.2 KB 2025-10-31 18:40 rw-r--r--
ast.h — 947 B
2025-10-31 18:40 · rw-r--r--
947 B 2025-10-31 18:40 rw-r--r--
bitset.h — 468 B
2025-10-31 18:40 · rw-r--r--
468 B 2025-10-31 18:40 rw-r--r--
bltinmodule.h — 264 B
2025-10-31 18:40 · rw-r--r--
264 B 2025-10-31 18:40 rw-r--r--
boolobject.h — 885 B
2025-10-31 18:40 · rw-r--r--
885 B 2025-10-31 18:40 rw-r--r--
bytearrayobject.h — 1.45 KB
2025-10-31 18:40 · rw-r--r--
1.45 KB 2025-10-31 18:40 rw-r--r--
bytesobject.h — 2.98 KB
2025-10-31 18:40 · rw-r--r--
2.98 KB 2025-10-31 18:40 rw-r--r--
cellobject.h — 712 B
2025-10-31 18:40 · rw-r--r--
712 B 2025-10-31 18:40 rw-r--r--
ceval.h — 5.81 KB
2025-10-31 18:40 · rw-r--r--
5.81 KB 2025-10-31 18:40 rw-r--r--
classobject.h — 1.62 KB
2025-10-31 18:40 · rw-r--r--
1.62 KB 2025-10-31 18:40 rw-r--r--
code.h — 318 B
2025-10-31 18:40 · rw-r--r--
318 B 2025-10-31 18:40 rw-r--r--
codecs.h — 6.63 KB
2025-10-31 18:40 · rw-r--r--
6.63 KB 2025-10-31 18:40 rw-r--r--
compile.h — 3.69 KB
2025-10-31 18:40 · rw-r--r--
3.69 KB 2025-10-31 18:40 rw-r--r--
complexobject.h — 1.76 KB
2025-10-31 18:40 · rw-r--r--
1.76 KB 2025-10-31 18:40 rw-r--r--
context.h — 1.92 KB
2025-10-31 18:40 · rw-r--r--
1.92 KB 2025-10-31 18:40 rw-r--r--
datetime.h — 9.04 KB
2025-10-31 18:40 · rw-r--r--
9.04 KB 2025-10-31 18:40 rw-r--r--
descrobject.h — 2.95 KB
2025-10-31 18:40 · rw-r--r--
2.95 KB 2025-10-31 18:40 rw-r--r--
dictobject.h — 3.63 KB
2025-10-31 18:40 · rw-r--r--
3.63 KB 2025-10-31 18:40 rw-r--r--
dynamic_annotations.h — 21.94 KB
2025-10-31 18:40 · rw-r--r--
21.94 KB 2025-10-31 18:40 rw-r--r--
enumobject.h — 253 B
2025-10-31 18:40 · rw-r--r--
253 B 2025-10-31 18:40 rw-r--r--
errcode.h — 1.59 KB
2025-10-31 18:40 · rw-r--r--
1.59 KB 2025-10-31 18:40 rw-r--r--
eval.h — 1.18 KB
2025-10-31 18:40 · rw-r--r--
1.18 KB 2025-10-31 18:40 rw-r--r--
exports.h — 1.07 KB
2025-10-31 18:40 · rw-r--r--
1.07 KB 2025-10-31 18:40 rw-r--r--
fileobject.h — 1.53 KB
2025-10-31 18:40 · rw-r--r--
1.53 KB 2025-10-31 18:40 rw-r--r--
fileutils.h — 597 B
2025-10-31 18:40 · rw-r--r--
597 B 2025-10-31 18:40 rw-r--r--
floatobject.h — 4.26 KB
2025-10-31 18:40 · rw-r--r--
4.26 KB 2025-10-31 18:40 rw-r--r--
frameobject.h — 337 B
2025-10-31 18:40 · rw-r--r--
337 B 2025-10-31 18:40 rw-r--r--
funcobject.h — 3.96 KB
2025-10-31 18:40 · rw-r--r--
3.96 KB 2025-10-31 18:40 rw-r--r--
genericaliasobject.h — 334 B
2025-10-31 18:40 · rw-r--r--
334 B 2025-10-31 18:40 rw-r--r--
genobject.h — 3.44 KB
2025-10-31 18:40 · rw-r--r--
3.44 KB 2025-10-31 18:40 rw-r--r--
graminit.h — 2.07 KB
2025-10-31 18:40 · rw-r--r--
2.07 KB 2025-10-31 18:40 rw-r--r--
grammar.h — 1.78 KB
2025-10-31 18:40 · rw-r--r--
1.78 KB 2025-10-31 18:40 rw-r--r--
import.h — 2.96 KB
2025-10-31 18:40 · rw-r--r--
2.96 KB 2025-10-31 18:40 rw-r--r--
interpreteridobject.h — 334 B
2025-10-31 18:40 · rw-r--r--
334 B 2025-10-31 18:40 rw-r--r--
intrcheck.h — 861 B
2025-10-31 18:40 · rw-r--r--
861 B 2025-10-31 18:40 rw-r--r--
iterobject.h — 521 B
2025-10-31 18:40 · rw-r--r--
521 B 2025-10-31 18:40 rw-r--r--
listobject.h — 1.74 KB
2025-10-31 18:40 · rw-r--r--
1.74 KB 2025-10-31 18:40 rw-r--r--
longintrepr.h — 3.71 KB
2025-10-31 18:40 · rw-r--r--
3.71 KB 2025-10-31 18:40 rw-r--r--
longobject.h — 9.29 KB
2025-10-31 18:40 · rw-r--r--
9.29 KB 2025-10-31 18:40 rw-r--r--
marshal.h — 803 B
2025-10-31 18:40 · rw-r--r--
803 B 2025-10-31 18:40 rw-r--r--
memoryobject.h — 2.7 KB
2025-10-31 18:40 · rw-r--r--
2.7 KB 2025-10-31 18:40 rw-r--r--
methodobject.h — 3.69 KB
2025-10-31 18:40 · rw-r--r--
3.69 KB 2025-10-31 18:40 rw-r--r--
modsupport.h — 10.21 KB
2026-04-27 17:28 · rw-r--r--
10.21 KB 2026-04-27 17:28 rw-r--r--
moduleobject.h — 2.31 KB
2025-10-31 18:40 · rw-r--r--
2.31 KB 2025-10-31 18:40 rw-r--r--
namespaceobject.h — 349 B
2025-10-31 18:40 · rw-r--r--
349 B 2025-10-31 18:40 rw-r--r--
node.h — 1.25 KB
2025-10-31 18:40 · rw-r--r--
1.25 KB 2025-10-31 18:40 rw-r--r--
object.h — 24.05 KB
2025-10-31 18:40 · rw-r--r--
24.05 KB 2025-10-31 18:40 rw-r--r--
objimpl.h — 8.23 KB
2025-10-31 18:40 · rw-r--r--
8.23 KB 2025-10-31 18:40 rw-r--r--
odictobject.h — 1.27 KB
2025-10-31 18:40 · rw-r--r--
1.27 KB 2025-10-31 18:40 rw-r--r--
opcode.h — 4.79 KB
2025-10-31 18:40 · rw-r--r--
4.79 KB 2025-10-31 18:40 rw-r--r--
osdefs.h — 737 B
2025-10-31 18:40 · rw-r--r--
737 B 2025-10-31 18:40 rw-r--r--
osmodule.h — 291 B
2025-10-31 18:40 · rw-r--r--
291 B 2025-10-31 18:40 rw-r--r--
parsetok.h — 2.89 KB
2025-10-31 18:40 · rw-r--r--
2.89 KB 2025-10-31 18:40 rw-r--r--
patchlevel.h — 1.27 KB
2025-10-31 18:40 · rw-r--r--
1.27 KB 2025-10-31 18:40 rw-r--r--
picklebufobject.h — 846 B
2025-10-31 18:40 · rw-r--r--
846 B 2025-10-31 18:40 rw-r--r--
py_curses.h — 2.42 KB
2025-10-31 18:40 · rw-r--r--
2.42 KB 2025-10-31 18:40 rw-r--r--
pyarena.h — 2.68 KB
2025-10-31 18:40 · rw-r--r--
2.68 KB 2025-10-31 18:40 rw-r--r--
pycapsule.h — 1.68 KB
2025-10-31 18:40 · rw-r--r--
1.68 KB 2025-10-31 18:40 rw-r--r--
pyconfig-64.h — 46.85 KB
2026-04-27 17:30 · rw-r--r--
46.85 KB 2026-04-27 17:30 rw-r--r--
pyconfig.h — 162 B
2026-04-27 17:39 · rw-r--r--
162 B 2026-04-27 17:39 rw-r--r--
pyctype.h — 1.35 KB
2025-10-31 18:40 · rw-r--r--
1.35 KB 2025-10-31 18:40 rw-r--r--
pydebug.h — 1.07 KB
2025-10-31 18:40 · rw-r--r--
1.07 KB 2025-10-31 18:40 rw-r--r--
pydtrace.h — 2.36 KB
2025-10-31 18:40 · rw-r--r--
2.36 KB 2025-10-31 18:40 rw-r--r--
pyerrors.h — 12.14 KB
2025-10-31 18:40 · rw-r--r--
12.14 KB 2025-10-31 18:40 rw-r--r--
pyexpat.h — 2.51 KB
2025-10-31 18:40 · rw-r--r--
2.51 KB 2025-10-31 18:40 rw-r--r--
pyfpe.h — 444 B
2025-10-31 18:40 · rw-r--r--
444 B 2025-10-31 18:40 rw-r--r--
pyframe.h — 466 B
2025-10-31 18:40 · rw-r--r--
466 B 2025-10-31 18:40 rw-r--r--
pyhash.h — 4.16 KB
2025-10-31 18:40 · rw-r--r--
4.16 KB 2025-10-31 18:40 rw-r--r--
pylifecycle.h — 2.09 KB
2025-10-31 18:40 · rw-r--r--
2.09 KB 2025-10-31 18:40 rw-r--r--
pymacconfig.h — 2.92 KB
2025-10-31 18:40 · rw-r--r--
2.92 KB 2025-10-31 18:40 rw-r--r--
pymacro.h — 4.8 KB
2025-10-31 18:40 · rw-r--r--
4.8 KB 2025-10-31 18:40 rw-r--r--
pymath.h — 8.38 KB
2025-10-31 18:40 · rw-r--r--
8.38 KB 2025-10-31 18:40 rw-r--r--
pymem.h — 4.3 KB
2025-10-31 18:40 · rw-r--r--
4.3 KB 2025-10-31 18:40 rw-r--r--
pyport.h — 30.54 KB
2025-10-31 18:40 · rw-r--r--
30.54 KB 2025-10-31 18:40 rw-r--r--
pystate.h — 5.13 KB
2025-10-31 18:40 · rw-r--r--
5.13 KB 2025-10-31 18:40 rw-r--r--
pystrcmp.h — 436 B
2025-10-31 18:40 · rw-r--r--
436 B 2025-10-31 18:40 rw-r--r--
pystrhex.h — 849 B
2025-10-31 18:40 · rw-r--r--
849 B 2025-10-31 18:40 rw-r--r--
pystrtod.h — 1.45 KB
2025-10-31 18:40 · rw-r--r--
1.45 KB 2025-10-31 18:40 rw-r--r--
Python-ast.h — 25.58 KB
2025-10-31 18:40 · rw-r--r--
25.58 KB 2025-10-31 18:40 rw-r--r--
Python.h — 3.45 KB
2025-10-31 18:40 · rw-r--r--
3.45 KB 2025-10-31 18:40 rw-r--r--
pythonrun.h — 7.49 KB
2025-10-31 18:40 · rw-r--r--
7.49 KB 2025-10-31 18:40 rw-r--r--
pythread.h — 5.8 KB
2025-10-31 18:40 · rw-r--r--
5.8 KB 2025-10-31 18:40 rw-r--r--
pytime.h — 8.72 KB
2025-10-31 18:40 · rw-r--r--
8.72 KB 2025-10-31 18:40 rw-r--r--
rangeobject.h — 628 B
2025-10-31 18:40 · rw-r--r--
628 B 2025-10-31 18:40 rw-r--r--
setobject.h — 3.25 KB
2025-10-31 18:40 · rw-r--r--
3.25 KB 2025-10-31 18:40 rw-r--r--
sliceobject.h — 2.46 KB
2025-10-31 18:40 · rw-r--r--
2.46 KB 2025-10-31 18:40 rw-r--r--
structmember.h — 1.98 KB
2025-10-31 18:40 · rw-r--r--
1.98 KB 2025-10-31 18:40 rw-r--r--
structseq.h — 1.36 KB
2025-10-31 18:40 · rw-r--r--
1.36 KB 2025-10-31 18:40 rw-r--r--
symtable.h — 5.18 KB
2025-10-31 18:40 · rw-r--r--
5.18 KB 2025-10-31 18:40 rw-r--r--
sysmodule.h — 1.21 KB
2025-10-31 18:40 · rw-r--r--
1.21 KB 2025-10-31 18:40 rw-r--r--
token.h — 2.58 KB
2025-10-31 18:40 · rw-r--r--
2.58 KB 2025-10-31 18:40 rw-r--r--
traceback.h — 584 B
2025-10-31 18:40 · rw-r--r--
584 B 2025-10-31 18:40 rw-r--r--
tracemalloc.h — 1.09 KB
2025-10-31 18:40 · rw-r--r--
1.09 KB 2025-10-31 18:40 rw-r--r--
tupleobject.h — 1.58 KB
2025-10-31 18:40 · rw-r--r--
1.58 KB 2025-10-31 18:40 rw-r--r--
typeslots.h — 2.29 KB
2025-10-31 18:40 · rw-r--r--
2.29 KB 2025-10-31 18:40 rw-r--r--
ucnhash.h — 1.03 KB
2025-10-31 18:40 · rw-r--r--
1.03 KB 2025-10-31 18:40 rw-r--r--
unicodeobject.h — 34.6 KB
2025-10-31 18:40 · rw-r--r--
34.6 KB 2025-10-31 18:40 rw-r--r--
warnings.h — 1.73 KB
2025-10-31 18:40 · rw-r--r--
1.73 KB 2025-10-31 18:40 rw-r--r--
weakrefobject.h — 2.8 KB
2025-10-31 18:40 · rw-r--r--
2.8 KB 2025-10-31 18:40 rw-r--r--
ONLINE
python3.9
102 items
01:37:45
TERMINAL FM
Edit
Preview
Download
Rename
Copy
Chmod
Delete
/* 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 /* Forward declarations for PyFrameObject, PyThreadState and PyInterpreterState */ struct _ts; struct _is; /* struct _ts is defined in cpython/pystate.h */ typedef struct _ts PyThreadState; /* struct _is is defined in internal/pycore_interp.h */ typedef struct _is PyInterpreterState; PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_New(void); PyAPI_FUNC(void) PyInterpreterState_Clear(PyInterpreterState *); PyAPI_FUNC(void) PyInterpreterState_Delete(PyInterpreterState *); #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03090000 /* New in 3.9 */ /* Get the current interpreter state. Issue a fatal error if there no current Python thread state or no current interpreter. It cannot return NULL. The caller must hold the GIL. */ PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Get(void); #endif #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03080000 /* New in 3.8 */ PyAPI_FUNC(PyObject *) PyInterpreterState_GetDict(PyInterpreterState *); #endif #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000 /* New in 3.7 */ PyAPI_FUNC(int64_t) PyInterpreterState_GetID(PyInterpreterState *); #endif #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000 /* State unique per thread */ /* 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*); PyAPI_FUNC(PyThreadState *) PyThreadState_New(PyInterpreterState *); PyAPI_FUNC(void) PyThreadState_Clear(PyThreadState *); PyAPI_FUNC(void) PyThreadState_Delete(PyThreadState *); /* Get the current thread state. When the current thread state is NULL, this issues a fatal error (so that the caller needn't check for NULL). The caller must hold the GIL. See also PyThreadState_GET() and _PyThreadState_GET(). */ PyAPI_FUNC(PyThreadState *) PyThreadState_Get(void); /* Get the current Python thread state. Macro using PyThreadState_Get() or _PyThreadState_GET() depending if pycore_pystate.h is included or not (this header redefines the macro). If PyThreadState_Get() is used, issue a fatal error if the current thread state is NULL. See also PyThreadState_Get() and _PyThreadState_GET(). */ #define PyThreadState_GET() PyThreadState_Get() PyAPI_FUNC(PyThreadState *) PyThreadState_Swap(PyThreadState *); PyAPI_FUNC(PyObject *) PyThreadState_GetDict(void); PyAPI_FUNC(int) PyThreadState_SetAsyncExc(unsigned long, PyObject *); #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03090000 /* New in 3.9 */ PyAPI_FUNC(PyInterpreterState*) PyThreadState_GetInterpreter(PyThreadState *tstate); PyAPI_FUNC(PyFrameObject*) PyThreadState_GetFrame(PyThreadState *tstate); PyAPI_FUNC(uint64_t) PyThreadState_GetID(PyThreadState *tstate); #endif typedef enum {PyGILState_LOCKED, PyGILState_UNLOCKED} PyGILState_STATE; /* 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 # define Py_CPYTHON_PYSTATE_H # include "cpython/pystate.h" # undef Py_CPYTHON_PYSTATE_H #endif #ifdef __cplusplus } #endif #endif /* !Py_PYSTATE_H */