$68 GRAYBYTE WORDPRESS FILE MANAGER $27

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python38/include/python3.8/

HOME
Current File : /opt/alt/python38/include/python3.8//ceval.h
#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 */


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.48 PM
root / root
0755
cpython
--
26 Oct 2024 8.36 AM
root / linksafe
0755
internal
--
26 Oct 2024 8.36 AM
root / linksafe
0755
Python-ast.h
25.87 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
Python.h
3.53 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
abstract.h
29.576 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
asdl.h
1.2 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
ast.h
0.926 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
bitset.h
0.457 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
bltinmodule.h
0.258 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
boolobject.h
0.865 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
bytearrayobject.h
2.064 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
bytes_methods.h
3.224 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
bytesobject.h
8.294 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
cellobject.h
0.696 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
ceval.h
8.17 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
classobject.h
1.67 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
code.h
7.01 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
codecs.h
6.634 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
compile.h
3.498 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
complexobject.h
1.765 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
context.h
1.967 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
datetime.h
9.043 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
descrobject.h
2.948 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
dictobject.h
3.629 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
dtoa.h
0.447 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
dynamic_annotations.h
21.942 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
enumobject.h
0.247 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
errcode.h
1.655 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
eval.h
1.181 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
fileobject.h
1.534 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
fileutils.h
4.25 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
floatobject.h
4.682 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
frameobject.h
3.239 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
funcobject.h
4.102 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
genobject.h
3.633 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
graminit.h
2.068 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
grammar.h
1.778 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
import.h
4.811 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
interpreteridobject.h
0.326 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
intrcheck.h
0.841 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
iterobject.h
0.554 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
listobject.h
2.858 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
longintrepr.h
3.71 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
longobject.h
9.297 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
marshal.h
0.784 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
memoryobject.h
2.7 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
methodobject.h
4.303 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
modsupport.h
9.366 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
moduleobject.h
2.307 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
namespaceobject.h
0.341 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
node.h
1.297 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
object.h
28.905 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
objimpl.h
10.29 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
odictobject.h
1.27 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
opcode.h
5.043 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
osdefs.h
0.72 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
osmodule.h
0.284 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
parsetok.h
2.889 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
patchlevel.h
1.269 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
picklebufobject.h
0.827 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
py_curses.h
2.419 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pyarena.h
2.68 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pycapsule.h
1.686 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pyconfig-64.h
46.401 KB
23 Sep 2024 11.18 AM
root / linksafe
0644
pyconfig.h
0.157 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
pyctype.h
1.354 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pydebug.h
1.186 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pydtrace.h
2.356 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pyerrors.h
12.486 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pyexpat.h
2.512 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pyfpe.h
0.333 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pyhash.h
4.043 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pylifecycle.h
2.032 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pymacconfig.h
2.919 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pymacro.h
3.689 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pymath.h
8.117 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pymem.h
5.279 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pyport.h
29.513 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pystate.h
4.576 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pystrcmp.h
0.426 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pystrhex.h
0.829 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pystrtod.h
1.448 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pythonrun.h
7.466 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pythread.h
5.527 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
pytime.h
8.717 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
rangeobject.h
0.614 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
setobject.h
3.283 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
sliceobject.h
2.458 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
structmember.h
1.982 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
structseq.h
1.345 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
symtable.h
5.184 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
sysmodule.h
1.213 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
token.h
2.372 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
traceback.h
0.587 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
tracemalloc.h
1.088 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
tupleobject.h
1.622 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
typeslots.h
2.2 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
ucnhash.h
1.031 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
unicodeobject.h
34.895 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
warnings.h
1.734 KB
6 Sep 2024 8.41 PM
root / linksafe
0644
weakrefobject.h
2.799 KB
6 Sep 2024 8.41 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF