Staging
v0.5.1
https://github.com/python/cpython
Revision fd630f54ccd7a03629eb14d24bd78b7872ab5f93 authored by Thomas Heller on 14 November 2003, 10:23:03 UTC, committed by Thomas Heller on 14 November 2003, 10:23:03 UTC
The find_all_submodules() method in modulefinder only
looks for *.py, *.pyc, and *.pyo files.  Python
extension modules are only found if they are referenced
in import statements somewhere.

This patch uses the actual list from imp.get_suffixes().

Backported to release-maint23.
1 parent 8e81b7e
Raw File
Tip revision: fd630f54ccd7a03629eb14d24bd78b7872ab5f93 authored by Thomas Heller on 14 November 2003, 10:23:03 UTC
SF #841977 - modulefinder fails to find extension modules in packages
Tip revision: fd630f5
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