Message191284
I finally figured out why _Py_memset_s() wasn't available inside extension modules. The linker removes object files from the main binary unless one or more symbols from an object files are referenced somewhere. Objects/object.c has a workaround for PyCapsule_Type:
/* Hack to force loading of pycapsule.o */
PyTypeObject *_PyCapsule_hack = &PyCapsule_Type;
I have updated my patch. |
|
Date |
User |
Action |
Args |
2013-06-16 19:38:51 | christian.heimes | set | recipients:
+ christian.heimes, gregory.p.smith, pitrou, benjamin.peterson |
2013-06-16 19:38:51 | christian.heimes | set | messageid: <1371411531.7.0.311192733157.issue17405@psf.upfronthosting.co.za> |
2013-06-16 19:38:51 | christian.heimes | link | issue17405 messages |
2013-06-16 19:38:51 | christian.heimes | create | |
|