Staging
v0.5.1
https://github.com/python/cpython
Revision 3e5f8a6975cb7f7c3dc9f84686f27c49bc4aa75a authored by Amaury Forgeot d'Arc on 08 February 2008, 01:05:21 UTC, committed by Amaury Forgeot d'Arc on 08 February 2008, 01:05:21 UTC
if default_factory is set to a bound method.

Backport of r60663.
1 parent ec4301e
Raw File
Tip revision: 3e5f8a6975cb7f7c3dc9f84686f27c49bc4aa75a authored by Amaury Forgeot d'Arc on 08 February 2008, 01:05:21 UTC
issue 2045: Infinite recursion when printing a subclass of defaultdict,
Tip revision: 3e5f8a6
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(PyCodeObject *, PyObject *, PyObject *);

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

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

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