This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients benjamin.peterson, christian.heimes, gregory.p.smith, pitrou
Date 2013-06-16.19:38:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371411531.7.0.311192733157.issue17405@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-06-16 19:38:51christian.heimessetrecipients: + christian.heimes, gregory.p.smith, pitrou, benjamin.peterson
2013-06-16 19:38:51christian.heimessetmessageid: <1371411531.7.0.311192733157.issue17405@psf.upfronthosting.co.za>
2013-06-16 19:38:51christian.heimeslinkissue17405 messages
2013-06-16 19:38:51christian.heimescreate