Message282410
| 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. |
|