Message93115
Great, though I think it still needs to deallocated:
Index: Modules/threadmodule.c
===================================================================
--- Modules/threadmodule.c (revision 75050)
+++ Modules/threadmodule.c (working copy)
@@ -244,7 +244,6 @@
static int
local_clear(localobject *self)
{
- Py_CLEAR(self->key);
Py_CLEAR(self->args);
Py_CLEAR(self->kw);
Py_CLEAR(self->dict);
@@ -266,6 +265,7 @@
PyDict_DelItem(tstate->dict, self->key);
}
+ Py_XDECREF(self->key);
local_clear(self);
Py_TYPE(self)->tp_free((PyObject*)self);
} |
|
Date |
User |
Action |
Args |
2009-09-25 17:23:42 | pjenvey | set | recipients:
+ pjenvey, amaury.forgeotdarc, bbangert |
2009-09-25 17:23:42 | pjenvey | set | messageid: <1253899422.15.0.450481545027.issue6990@psf.upfronthosting.co.za> |
2009-09-25 17:23:40 | pjenvey | link | issue6990 messages |
2009-09-25 17:23:40 | pjenvey | create | |
|