Module cleanup function name not mangled
Bug #188154 reported by
robertwb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cython |
Fix Committed
|
Undecided
|
robertwb |
Bug Description
Cython generates this code these days:
static int __Pyx_RegisterC
static PyObject* cleanup(PyObject *self, PyObject *unused); /*proto*/
static PyMethodDef cleanup_def = {"__cleanup", (PyCFunction)
METH_NOARGS, 0};
The "cleanup" function should be mangled consistently with how all
other Cython auto-generated
code is mangled. Otherwise a user could easily get really confused if
they say using a C library
that defines a function called cleanup.
Changed in cython: | |
assignee: | nobody → robertwb |
status: | New → Fix Committed |
To post a comment you must log in.