[New-bugs-announce] [issue1868] threading.local doesn't free attrs when assigning thread exits
Peter Fein
report at bugs.python.org
Sat Jan 19 00:55:07 CET 2008
New submission from Peter Fein:
threading.local doesn't free attributes assigned to a local() instance
when the assigning thread exits. See attached patch for
_threading_local.py doctests.
Per discussion with Crys and arkanes in #python, this may be an issue
with PyThreadState_Clear / PyThreadState_GetDict
This appears to affect both thread._local and _threading_local.py
----------
components: Library (Lib)
files: _threading_local.py.patch
messages: 60127
nosy: pfein
severity: normal
status: open
title: threading.local doesn't free attrs when assigning thread exits
type: behavior
versions: Python 2.5
Added file: http://bugs.python.org/file9212/_threading_local.py.patch
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1868>
__________________________________
More information about the New-bugs-announce
mailing list