[issue6627] threading.local() does not work with C-created threads

Nikolaus Rath report at bugs.python.org
Sun Aug 2 22:02:44 CEST 2009


New submission from Nikolaus Rath <Nikolaus at rath.org>:

When threads are created by a C extension loaded with ctypes,
threading.local() objects are always empty. If one uses
_threading_local.local() instead of threading.local(), the problem does
not occur. 

More information and example program showing the behaviour:
http://code.google.com/p/fusepy/issues/detail?id=15

----------
components: Library (Lib)
messages: 91198
nosy: Nikratio
severity: normal
status: open
title: threading.local() does not work with C-created threads
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6627>
_______________________________________


More information about the Python-bugs-list mailing list