Module cleanup function name not mangled

Bug #188154 reported by robertwb
2
Affects Status Importance Assigned to Milestone
Cython
Fix Committed
Undecided
robertwb

Bug Description

Cython generates this code these days:

static int __Pyx_RegisterCleanup(); /*proto*/
static PyObject* cleanup(PyObject *self, PyObject *unused); /*proto*/
static PyMethodDef cleanup_def = {"__cleanup", (PyCFunction)&cleanup,
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.

robertwb (robertwb)
Changed in cython:
assignee: nobody → robertwb
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.