Message282410
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. |
|
Date |
User |
Action |
Args |
2016-12-05 10:22:59 | erik.bray | set | recipients:
+ erik.bray, vstinner, r.david.murray, masamoto, EdSchouten |
2016-12-05 10:22:59 | erik.bray | set | messageid: <1480933379.24.0.910064195993.issue25658@psf.upfronthosting.co.za> |
2016-12-05 10:22:59 | erik.bray | link | issue25658 messages |
2016-12-05 10:22:58 | erik.bray | create | |
|