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 erik.bray
Recipients EdSchouten, erik.bray, masamoto, r.david.murray, vstinner
Date 2016-12-05.10:22:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480933379.24.0.910064195993.issue25658@psf.upfronthosting.co.za>
In-reply-to
Content
I'm still pretty happy with the previous patch, personally, since I don't need the tracemalloc module.  But it seems like that should be fixed (or if nothing else that code in _tracemalloc.c should check Py_HAVE_NATIVE_TLS too).

I like the idea of the new PyThread_tss_ API.  At first I wasn't sure because I thought you implied that it would use tss_t and related APIs from C11 which was going to be a non-starter (as CPython has only just barely started using *some* features from C99, per the recent update to PEP 7).  But I see in your patch that the naming is only inspired by C11 (and could be consistent with it if CPython ever moves toward C11 support).

I imagine this will likely require a PEP though?  I would happy to help draft one.
History
Date User Action Args
2016-12-05 10:22:59erik.braysetrecipients: + erik.bray, vstinner, r.david.murray, masamoto, EdSchouten
2016-12-05 10:22:59erik.braysetmessageid: <1480933379.24.0.910064195993.issue25658@psf.upfronthosting.co.za>
2016-12-05 10:22:59erik.braylinkissue25658 messages
2016-12-05 10:22:58erik.braycreate