Add better error reporting for MemoryErrors caused by str->float conversions.
[python.git] / Include / eval.h
blobb78dfe0fae0027e609ad232c7cac28b25a7978a5
2 /* Interface to execute compiled code */
4 #ifndef Py_EVAL_H
5 #define Py_EVAL_H
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyCodeObject *, PyObject *, PyObject *);
12 PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyCodeObject *co,
13 PyObject *globals,
14 PyObject *locals,
15 PyObject **args, int argc,
16 PyObject **kwds, int kwdc,
17 PyObject **defs, int defc,
18 PyObject *closure);
20 PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args);
22 #ifdef __cplusplus
24 #endif
25 #endif /* !Py_EVAL_H */