Skip to content Skip to sidebar Skip to footer

Python XDECREF Failing On 64bit Mingw

I am calling a python method from C using the following code: #include 'Python.h' char *find_site(void) { char *app_site_dir = 0; PyObject *module = 0; PyObject *resul

Solution 1:

found and fixed, pyconfig.h was incorrect for mingw 64 bit use and had wrong sizeof for Py_ssize_t.

see https://bugs.python.org/issue39001


Post a Comment for "Python XDECREF Failing On 64bit Mingw"