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.

classification
Title: Reworked threading.local reference implementation
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: gregory.p.smith, pitrou
Priority: normal Keywords: patch

Created on 2010-08-28 20:26 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
threadlocal.patch pitrou, 2010-08-28 20:26
Messages (2)
msg115170 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-08-28 20:26
This is a reworked reference implementation of _threading_local without the __del__ quirks. The _patch() ugliness is unfortunately still needed because of a doctest checking that derived __slots__ attributes aren't actually thread-local.

Note that users are unlikely to ever use this code in the real world, except perhaps with non-CPython implementations.
msg115811 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-09-07 22:06
Committed in r84607.
History
Date User Action Args
2022-04-11 14:57:05adminsetgithub: 53916
2010-09-07 22:06:45pitrousetstatus: open -> closed
resolution: fixed
messages: + msg115811

stage: patch review -> resolved
2010-08-28 20:26:35pitroucreate