Category: extending
This index is updated by an off-site script, at irregular intervals.
Can I create an object class with some methods implemented in C and others in Python (e.g. through inheritance)?
Can I create my own functions in C?
Can I create my own functions in C++?
How can I evaluate an arbitrary Python expression from C?
How can I execute arbitrary Python statements from C?
How do I access a module written in Python from C?
How do I call an object’s method from C?
How do I catch the output from PyErr_Print() (or anything that prints to stdout/stderr)?
How do I debug an extension?
How do I extract C values from a Python object?
How do I find undefined g++ symbols __builtin_new or __pure_virtual?
How do I interface to C++ objects from Python?
How do I tell “incomplete input” from “invalid input”?
How do I use Py_BuildValue() to create a tuple of arbitrary length?
I added a module using the Setup file and the make fails; why?
I want to compile a Python module on my Linux system, but some files are missing. Why?
What does “SystemError: _PyImport_FixupExtension: module yourmodule not loaded” mean?
When importing module X, why do I get “undefined symbol: PyUnicodeUCS2*”?
Why does my C extension suddenly crash under 2.5?
Writing C is hard; are there any alternatives?
