>> I'd propose removing code which I think out-of-date.
Already done!
https://github.com/python/cpython/commit/aa0aa0492c5fffe750a26d2ab13737a1a6d7d63c
(and no buildbot complained).
Victor
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.p
On 3 July 2017 at 20:02, Victor Stinner wrote:
> Sadly, we only require C99 yet :-/
Handling fallbacks when shiny new features are unavailable is what
autoconf is for, though :)
The fact thread specific storage support made it directly into C11
makes me more confident in dropping our emulation,
Sadly, we only require C99 yet :-/
Victor
2017-07-03 10:19 GMT+02:00 Antoine Pitrou :
>
> Also note that C11, MSVC and some Unix C compilers have built-in support
> for thread-local variables. Example:
> https://github.com/numba/numba/blob/master/numba/_random.c#L114-L119
>
> Regards
>
> Antoine
Also note that C11, MSVC and some Unix C compilers have built-in support
for thread-local variables. Example:
https://github.com/numba/numba/blob/master/numba/_random.c#L114-L119
Regards
Antoine.
On Mon, 3 Jul 2017 10:07:06 +0200
Victor Stinner wrote:
> I'm in favor of removing it. I know t
I'm in favor of removing it. I know that it confused people many
times, they look at this fallback and found an issue, whereas I'm not
aware of any platform using this fallback anymore.
Can you please write a PR just to remove this fallback? We can merge
it and then check buildbots :-) So in the w
Hi, python-dev.
I'd propose removing code which I think out-of-date.
CPython has provided the own implementation for thread-local storage (TLS)
on Python/thread.c, it's used in the case which a platform has not supplied
native TLS. However, currently all supported platforms (NT and pthreads)
have