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

Nick Coghlan report at bugs.python.org
Fri Sep 17 17:08:16 CEST 2010


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Swapnil's analysis looks correct to me - there are certain rules you have to follow before calling back into the Python interpreter core. If you don't follow them, the behaviour you will get is completely undefined.

If the problem still occurs even when the C thread is correctly initialised for calling into the Python C API then this issue can be reopened.

----------
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list