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 xiang.zhang
Recipients serhiy.storchaka, vstinner, xiang.zhang
Date 2017-08-28.05:01:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503896496.88.0.68083436989.issue31282@psf.upfronthosting.co.za>
In-reply-to
Content
In pymem.h, it's stated that "The GIL must be held when using these APIs". I think the reason is when PYMALLOC_DEBUG is defined, they finally delegate to PyObject_Malloc.

Victor must be familiar with them since once he proposed to remote the restriction: https://mail.python.org/pipermail/python-dev/2013-June/126822.html.
History
Date User Action Args
2017-08-28 05:01:36xiang.zhangsetrecipients: + xiang.zhang, vstinner, serhiy.storchaka
2017-08-28 05:01:36xiang.zhangsetmessageid: <1503896496.88.0.68083436989.issue31282@psf.upfronthosting.co.za>
2017-08-28 05:01:36xiang.zhanglinkissue31282 messages
2017-08-28 05:01:36xiang.zhangcreate