Staging
v0.5.1
https://github.com/python/cpython
Revision 6e0c066f890d66bf07c410bee6d90221a42745a8 authored by Miss Islington (bot) on 12 September 2019, 16:25:55 UTC, committed by GitHub on 12 September 2019, 16:25:55 UTC
(cherry picked from commit 57b7dbc46e71269d855e644d30826d33eedee2a1)

Co-authored-by: Matti Picus <matti.picus@gmail.com>
1 parent 7da8c0a
Raw File
Tip revision: 6e0c066f890d66bf07c410bee6d90221a42745a8 authored by Miss Islington (bot) on 12 September 2019, 16:25:55 UTC
Emphasize the need to always call PySequence_Fast. (GH-11140)
Tip revision: 6e0c066
eval.h

/* Interface to execute compiled code */

#ifndef Py_EVAL_H
#define Py_EVAL_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyObject *, PyObject *, PyObject *);

PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyObject *co,
                                         PyObject *globals,
                                         PyObject *locals,
                                         PyObject *const *args, int argc,
                                         PyObject *const *kwds, int kwdc,
                                         PyObject *const *defs, int defc,
                                         PyObject *kwdefs, PyObject *closure);

#ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject *) _PyEval_EvalCodeWithName(
    PyObject *co,
    PyObject *globals, PyObject *locals,
    PyObject *const *args, Py_ssize_t argcount,
    PyObject *const *kwnames, PyObject *const *kwargs,
    Py_ssize_t kwcount, int kwstep,
    PyObject *const *defs, Py_ssize_t defcount,
    PyObject *kwdefs, PyObject *closure,
    PyObject *name, PyObject *qualname);

PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args);
#endif

#ifdef __cplusplus
}
#endif
#endif /* !Py_EVAL_H */
back to top