Using `return_internal_reference` should be invalid for Function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyBindGen |
New
|
Undecided
|
Unassigned |
Bug Description
When using `return_
Otherwise it will produce C++ output which fails to compile with a more cryptic error message.
Example of GCC error message:
pythonBindings.cpp: In function ‘PyObject* _wrap_mymodule_
pythonBindings.
if (((PyObject *) self) && !PySequence_
As a reduced test case, the following should produce some sort of error:
from pybindgen.module import Module
from pybindgen import retval
mod = Module('mymodule')
mod.
mod.