Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, christian.heimes, pfein
Date 2008-01-19.15:20:52
SpamBayes Score 0.0103435
Marked as misclassified No
Message-id <1200756054.22.0.969405942987.issue1868@psf.upfronthosting.co.za>
In-reply-to
Content
On the opposite, simply evaluating
    local.__dict__
just before "deadlist = ...", frees the last value.

Weird? I found that in threadmodule.c, the local object has a
"self->dict" attribute, which contains the last used dictionary. The
dictionaries switch when tp_getattro or tp_setattro are called from a
different thread.

Maybe localobject could be rewritten with no self->dict at all. Or make
self->dict a *borrowed* reference inside the array of thread-local
dictionaries.
History
Date User Action Args
2008-01-19 15:20:54amaury.forgeotdarcsetspambayes_score: 0.0103435 -> 0.0103435
recipients: + amaury.forgeotdarc, christian.heimes, pfein
2008-01-19 15:20:54amaury.forgeotdarcsetspambayes_score: 0.0103435 -> 0.0103435
messageid: <1200756054.22.0.969405942987.issue1868@psf.upfronthosting.co.za>
2008-01-19 15:20:53amaury.forgeotdarclinkissue1868 messages
2008-01-19 15:20:52amaury.forgeotdarccreate