Message330762
Small update:
After commenting out Py_XDECREF(self->restype) in function CThunkObject_dealloc(PyObject *_self), I can import ctypes without getting a segmentation fault.
static void
CThunkObject_dealloc(PyObject *_self)
{
CThunkObject *self = (CThunkObject *)_self;
PyObject_GC_UnTrack(self);
Py_XDECREF(self->converters);
Py_XDECREF(self->callable);
//Py_XDECREF(self->restype);
if (self->pcl_write)
ffi_closure_free(self->pcl_write);
PyObject_GC_Del(self);
}
But I'm afraid I don't know what other effects could result with this change. |
|
Date |
User |
Action |
Args |
2018-11-30 09:06:43 | n0s69z | set | recipients:
+ n0s69z |
2018-11-30 09:06:42 | n0s69z | set | messageid: <1543568802.99.0.788709270274.issue35350@psf.upfronthosting.co.za> |
2018-11-30 09:06:42 | n0s69z | link | issue35350 messages |
2018-11-30 09:06:42 | n0s69z | create | |
|