[New-bugs-announce] [issue9707] Reworked threading.local reference implementation

Antoine Pitrou report at bugs.python.org
Sat Aug 28 22:26:36 CEST 2010

New submission from Antoine Pitrou <pitrou at free.fr>:

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.

components: Library (Lib)
files: threadlocal.patch
keywords: patch
messages: 115170
nosy: gregory.p.smith, pitrou
priority: normal
severity: normal
stage: patch review
status: open
title: Reworked threading.local reference implementation
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file18669/threadlocal.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list