Message116710
@Swapnil: the rules you quote are correct for the C extension, but do not apply when using ctypes, because ctypes is doing the required initializations automatically.
However, if Amaury is correct, ctypes performs the initializations in a way that break the threading.local functionality.
I think the best way to address this bug would therefore be to add a warning to the ctypes documentation that C created threads will not support threading.local(). |
|
Date |
User |
Action |
Args |
2010-09-17 18:58:23 | nikratio | set | recipients:
+ nikratio, amaury.forgeotdarc, ncoghlan, verigak, swapnil, anacrolix, docs@python |
2010-09-17 18:58:22 | nikratio | set | messageid: <1284749902.85.0.0912884895974.issue6627@psf.upfronthosting.co.za> |
2010-09-17 18:58:20 | nikratio | link | issue6627 messages |
2010-09-17 18:58:20 | nikratio | create | |
|