You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove own implementation for thread-local storage #75015
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2017-07-03.14:00:29.256>created_at=<Date2017-07-03.08:23:53.413>labels= ['interpreter-core', 'type-feature', '3.7']
title='Remove own implementation for thread-local storage'updated_at=<Date2017-07-05.13:44:56.600>user='https://github.com/ma8ma'
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 provided native TLS and defined the Py_HAVE_NATIVE_TLS macro with unconditional in any case.
Therefore, I'd propose removing outdated code.
New changeset aa0aa04 by Victor Stinner (Masayuki Yamamoto) in branch 'master': bpo-30832: Remove own implementation for thread-local storage (bpo-2537) aa0aa04
Activity
ma8ma commentedon Jul 3, 2017
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 provided native TLS and defined the Py_HAVE_NATIVE_TLS macro with unconditional in any case.
Therefore, I'd propose removing outdated code.
python-dev: https://mail.python.org/pipermail/python-dev/2017-July/148534.html
vstinner commentedon Jul 3, 2017
This change is related to the PEP-539: the new Thread-Local Storage (TLS) API.
vstinner commentedon Jul 3, 2017
New changeset aa0aa04 by Victor Stinner (Masayuki Yamamoto) in branch 'master':
bpo-30832: Remove own implementation for thread-local storage (bpo-2537)
aa0aa04
vstinner commentedon Jul 3, 2017
Well done, I didn't see any major outdage (compilation error) on 3.x buildbots ;-)
vstinner commentedon Jul 5, 2017
New changeset 8207c17 by Victor Stinner in branch 'master':
Revert "bpo-30822: Fix testing of datetime module." (bpo-2588)
8207c17