usr
/
include
/
python3.8
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
[DIR] cpython
N/A
[DIR] internal
N/A
Python-ast.h
25.87 KB
Rename
Delete
Python.h
3.53 KB
Rename
Delete
_hashopenssl.h
1.33 KB
Rename
Delete
abstract.h
29.58 KB
Rename
Delete
asdl.h
1.20 KB
Rename
Delete
ast.h
948 bytes
Rename
Delete
bitset.h
468 bytes
Rename
Delete
bltinmodule.h
264 bytes
Rename
Delete
boolobject.h
886 bytes
Rename
Delete
bytearrayobject.h
2.06 KB
Rename
Delete
bytes_methods.h
3.22 KB
Rename
Delete
bytesobject.h
8.29 KB
Rename
Delete
cellobject.h
713 bytes
Rename
Delete
ceval.h
8.17 KB
Rename
Delete
classobject.h
1.67 KB
Rename
Delete
code.h
7.01 KB
Rename
Delete
codecs.h
6.63 KB
Rename
Delete
compile.h
3.50 KB
Rename
Delete
complexobject.h
1.76 KB
Rename
Delete
context.h
1.97 KB
Rename
Delete
datetime.h
9.04 KB
Rename
Delete
descrobject.h
2.95 KB
Rename
Delete
dictobject.h
3.63 KB
Rename
Delete
dtoa.h
458 bytes
Rename
Delete
dynamic_annotations.h
21.94 KB
Rename
Delete
enumobject.h
253 bytes
Rename
Delete
errcode.h
1.66 KB
Rename
Delete
eval.h
1.18 KB
Rename
Delete
fileobject.h
1.53 KB
Rename
Delete
fileutils.h
4.25 KB
Rename
Delete
floatobject.h
4.68 KB
Rename
Delete
frameobject.h
3.24 KB
Rename
Delete
funcobject.h
4.10 KB
Rename
Delete
genobject.h
3.63 KB
Rename
Delete
graminit.h
2.07 KB
Rename
Delete
grammar.h
1.78 KB
Rename
Delete
import.h
4.81 KB
Rename
Delete
interpreteridobject.h
334 bytes
Rename
Delete
intrcheck.h
861 bytes
Rename
Delete
iterobject.h
567 bytes
Rename
Delete
listobject.h
2.86 KB
Rename
Delete
longintrepr.h
3.71 KB
Rename
Delete
longobject.h
9.30 KB
Rename
Delete
marshal.h
803 bytes
Rename
Delete
memoryobject.h
2.70 KB
Rename
Delete
methodobject.h
4.30 KB
Rename
Delete
modsupport.h
9.37 KB
Rename
Delete
moduleobject.h
2.31 KB
Rename
Delete
namespaceobject.h
349 bytes
Rename
Delete
node.h
1.30 KB
Rename
Delete
object.h
28.91 KB
Rename
Delete
objimpl.h
10.29 KB
Rename
Delete
odictobject.h
1.27 KB
Rename
Delete
opcode.h
5.04 KB
Rename
Delete
osdefs.h
737 bytes
Rename
Delete
osmodule.h
291 bytes
Rename
Delete
parsetok.h
2.89 KB
Rename
Delete
patchlevel.h
1.27 KB
Rename
Delete
picklebufobject.h
847 bytes
Rename
Delete
py_curses.h
2.42 KB
Rename
Delete
pyarena.h
2.68 KB
Rename
Delete
pycapsule.h
1.69 KB
Rename
Delete
pyconfig-64.h
46.41 KB
Rename
Delete
pyconfig.h
162 bytes
Rename
Delete
pyctype.h
1.35 KB
Rename
Delete
pydebug.h
1.19 KB
Rename
Delete
pydtrace.h
2.36 KB
Rename
Delete
pyerrors.h
12.49 KB
Rename
Delete
pyexpat.h
2.39 KB
Rename
Delete
pyfpe.h
341 bytes
Rename
Delete
pyhash.h
4.04 KB
Rename
Delete
pylifecycle.h
2.03 KB
Rename
Delete
pymacconfig.h
2.92 KB
Rename
Delete
pymacro.h
3.69 KB
Rename
Delete
pymath.h
8.12 KB
Rename
Delete
pymem.h
5.28 KB
Rename
Delete
pyport.h
29.51 KB
Rename
Delete
pystate.h
4.58 KB
Rename
Delete
pystrcmp.h
436 bytes
Rename
Delete
pystrhex.h
849 bytes
Rename
Delete
pystrtod.h
1.45 KB
Rename
Delete
pythonrun.h
7.47 KB
Rename
Delete
pythread.h
5.53 KB
Rename
Delete
pytime.h
8.72 KB
Rename
Delete
rangeobject.h
629 bytes
Rename
Delete
setobject.h
3.28 KB
Rename
Delete
sliceobject.h
2.46 KB
Rename
Delete
structmember.h
1.98 KB
Rename
Delete
structseq.h
1.34 KB
Rename
Delete
symtable.h
5.18 KB
Rename
Delete
sysmodule.h
1.21 KB
Rename
Delete
token.h
2.37 KB
Rename
Delete
traceback.h
601 bytes
Rename
Delete
tracemalloc.h
1.09 KB
Rename
Delete
tupleobject.h
1.62 KB
Rename
Delete
typeslots.h
2.20 KB
Rename
Delete
ucnhash.h
1.03 KB
Rename
Delete
unicodeobject.h
34.89 KB
Rename
Delete
warnings.h
1.73 KB
Rename
Delete
weakrefobject.h
2.80 KB
Rename
Delete
#ifndef Py_CEVAL_H #define Py_CEVAL_H #ifdef __cplusplus extern "C" { #endif /* Interface to random parts in ceval.c */ /* PyEval_CallObjectWithKeywords(), PyEval_CallObject(), PyEval_CallFunction * and PyEval_CallMethod are kept for backward compatibility: PyObject_Call(), * PyObject_CallFunction() and PyObject_CallMethod() are recommended to call * a callable object. */ PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( PyObject *callable, PyObject *args, PyObject *kwargs); /* Inline this */ #define PyEval_CallObject(callable, arg) \ PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) PyAPI_FUNC(PyObject *) PyEval_CallFunction(PyObject *callable, const char *format, ...); PyAPI_FUNC(PyObject *) PyEval_CallMethod(PyObject *obj, const char *name, const char *format, ...); #ifndef Py_LIMITED_API PyAPI_FUNC(void) PyEval_SetProfile(Py_tracefunc, PyObject *); PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *); PyAPI_FUNC(void) _PyEval_SetCoroutineOriginTrackingDepth(int new_depth); PyAPI_FUNC(int) _PyEval_GetCoroutineOriginTrackingDepth(void); PyAPI_FUNC(void) _PyEval_SetAsyncGenFirstiter(PyObject *); PyAPI_FUNC(PyObject *) _PyEval_GetAsyncGenFirstiter(void); PyAPI_FUNC(void) _PyEval_SetAsyncGenFinalizer(PyObject *); PyAPI_FUNC(PyObject *) _PyEval_GetAsyncGenFinalizer(void); #endif struct _frame; /* Avoid including frameobject.h */ PyAPI_FUNC(PyObject *) PyEval_GetBuiltins(void); PyAPI_FUNC(PyObject *) PyEval_GetGlobals(void); PyAPI_FUNC(PyObject *) PyEval_GetLocals(void); PyAPI_FUNC(struct _frame *) PyEval_GetFrame(void); #ifndef Py_LIMITED_API /* Helper to look up a builtin object */ PyAPI_FUNC(PyObject *) _PyEval_GetBuiltinId(_Py_Identifier *); /* Look at the current frame's (if any) code's co_flags, and turn on the corresponding compiler flags in cf->cf_flags. Return 1 if any flag was set, else return 0. */ PyAPI_FUNC(int) PyEval_MergeCompilerFlags(PyCompilerFlags *cf); #endif PyAPI_FUNC(int) Py_AddPendingCall(int (*func)(void *), void *arg); PyAPI_FUNC(int) Py_MakePendingCalls(void); /* Protection against deeply nested recursive calls In Python 3.0, this protection has two levels: * normal anti-recursion protection is triggered when the recursion level exceeds the current recursion limit. It raises a RecursionError, and sets the "overflowed" flag in the thread state structure. This flag temporarily *disables* the normal protection; this allows cleanup code to potentially outgrow the recursion limit while processing the RecursionError. * "last chance" anti-recursion protection is triggered when the recursion level exceeds "current recursion limit + 50". By construction, this protection can only be triggered when the "overflowed" flag is set. It means the cleanup code has itself gone into an infinite loop, or the RecursionError has been mistakingly ignored. When this protection is triggered, the interpreter aborts with a Fatal Error. In addition, the "overflowed" flag is automatically reset when the recursion level drops below "current recursion limit - 50". This heuristic is meant to ensure that the normal anti-recursion protection doesn't get disabled too long. Please note: this scheme has its own limitations. See: http://mail.python.org/pipermail/python-dev/2008-August/082106.html for some observations. */ PyAPI_FUNC(void) Py_SetRecursionLimit(int); PyAPI_FUNC(int) Py_GetRecursionLimit(void); #define Py_EnterRecursiveCall(where) \ (_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) && \ _Py_CheckRecursiveCall(where)) #define Py_LeaveRecursiveCall() \ do{ if(_Py_MakeEndRecCheck(PyThreadState_GET()->recursion_depth)) \ PyThreadState_GET()->overflowed = 0; \ } while(0) PyAPI_FUNC(int) _Py_CheckRecursiveCall(const char *where); /* Due to the macros in which it's used, _Py_CheckRecursionLimit is in the stable ABI. It should be removed therefrom when possible. */ PyAPI_DATA(int) _Py_CheckRecursionLimit; #ifdef USE_STACKCHECK /* With USE_STACKCHECK, trigger stack checks in _Py_CheckRecursiveCall() on every 64th call to Py_EnterRecursiveCall. */ # define _Py_MakeRecCheck(x) \ (++(x) > _Py_CheckRecursionLimit || \ ++(PyThreadState_GET()->stackcheck_counter) > 64) #else # define _Py_MakeRecCheck(x) (++(x) > _Py_CheckRecursionLimit) #endif /* Compute the "lower-water mark" for a recursion limit. When * Py_LeaveRecursiveCall() is called with a recursion depth below this mark, * the overflowed flag is reset to 0. */ #define _Py_RecursionLimitLowerWaterMark(limit) \ (((limit) > 200) \ ? ((limit) - 50) \ : (3 * ((limit) >> 2))) #define _Py_MakeEndRecCheck(x) \ (--(x) < _Py_RecursionLimitLowerWaterMark(_Py_CheckRecursionLimit)) #define Py_ALLOW_RECURSION \ do { unsigned char _old = PyThreadState_GET()->recursion_critical;\ PyThreadState_GET()->recursion_critical = 1; #define Py_END_ALLOW_RECURSION \ PyThreadState_GET()->recursion_critical = _old; \ } while(0); PyAPI_FUNC(const char *) PyEval_GetFuncName(PyObject *); PyAPI_FUNC(const char *) PyEval_GetFuncDesc(PyObject *); PyAPI_FUNC(PyObject *) PyEval_EvalFrame(struct _frame *); PyAPI_FUNC(PyObject *) PyEval_EvalFrameEx(struct _frame *f, int exc); #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) _PyEval_EvalFrameDefault(struct _frame *f, int exc); #endif /* Interface for threads. A module that plans to do a blocking system call (or something else that lasts a long time and doesn't touch Python data) can allow other threads to run as follows: ...preparations here... Py_BEGIN_ALLOW_THREADS ...blocking system call here... Py_END_ALLOW_THREADS ...interpret result here... The Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS pair expands to a {}-surrounded block. To leave the block in the middle (e.g., with return), you must insert a line containing Py_BLOCK_THREADS before the return, e.g. if (...premature_exit...) { Py_BLOCK_THREADS PyErr_SetFromErrno(PyExc_OSError); return NULL; } An alternative is: Py_BLOCK_THREADS if (...premature_exit...) { PyErr_SetFromErrno(PyExc_OSError); return NULL; } Py_UNBLOCK_THREADS For convenience, that the value of 'errno' is restored across Py_END_ALLOW_THREADS and Py_BLOCK_THREADS. WARNING: NEVER NEST CALLS TO Py_BEGIN_ALLOW_THREADS AND Py_END_ALLOW_THREADS!!! The function PyEval_InitThreads() should be called only from init_thread() in "_threadmodule.c". Note that not yet all candidates have been converted to use this mechanism! */ PyAPI_FUNC(PyThreadState *) PyEval_SaveThread(void); PyAPI_FUNC(void) PyEval_RestoreThread(PyThreadState *); PyAPI_FUNC(int) PyEval_ThreadsInitialized(void); PyAPI_FUNC(void) PyEval_InitThreads(void); Py_DEPRECATED(3.2) PyAPI_FUNC(void) PyEval_AcquireLock(void); /* Py_DEPRECATED(3.2) */ PyAPI_FUNC(void) PyEval_ReleaseLock(void); PyAPI_FUNC(void) PyEval_AcquireThread(PyThreadState *tstate); PyAPI_FUNC(void) PyEval_ReleaseThread(PyThreadState *tstate); #ifndef Py_LIMITED_API PyAPI_FUNC(void) _PyEval_SetSwitchInterval(unsigned long microseconds); PyAPI_FUNC(unsigned long) _PyEval_GetSwitchInterval(void); #endif #ifndef Py_LIMITED_API PyAPI_FUNC(Py_ssize_t) _PyEval_RequestCodeExtraIndex(freefunc); #endif #define Py_BEGIN_ALLOW_THREADS { \ PyThreadState *_save; \ _save = PyEval_SaveThread(); #define Py_BLOCK_THREADS PyEval_RestoreThread(_save); #define Py_UNBLOCK_THREADS _save = PyEval_SaveThread(); #define Py_END_ALLOW_THREADS PyEval_RestoreThread(_save); \ } #ifndef Py_LIMITED_API PyAPI_FUNC(int) _PyEval_SliceIndex(PyObject *, Py_ssize_t *); PyAPI_FUNC(int) _PyEval_SliceIndexNotNone(PyObject *, Py_ssize_t *); #endif /* Masks and values used by FORMAT_VALUE opcode. */ #define FVC_MASK 0x3 #define FVC_NONE 0x0 #define FVC_STR 0x1 #define FVC_REPR 0x2 #define FVC_ASCII 0x3 #define FVS_MASK 0x4 #define FVS_HAVE_SPEC 0x4 #ifdef __cplusplus } #endif #endif /* !Py_CEVAL_H */
Save