Message93101
Thanks for the excellent test case!
Is seems enough to remove the statement "Py_CLEAR(self->key);" from
local_clear(). self->key is a string which cannot cause cycles (and is
not visited in local_traverse()); now local_dealloc() does its job.
Index: threadmodule.c
===================================================================
--- threadmodule.c (revision 74229)
+++ threadmodule.c (working copy)
@@ -239,7 +239,6 @@
static int
local_clear(localobject *self)
{
- Py_CLEAR(self->key);
Py_CLEAR(self->args);
Py_CLEAR(self->kw);
Py_CLEAR(self->dict); |
|
Date |
User |
Action |
Args |
2009-09-25 07:32:18 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, pjenvey, bbangert |
2009-09-25 07:32:18 | amaury.forgeotdarc | set | messageid: <1253863938.11.0.557274335942.issue6990@psf.upfronthosting.co.za> |
2009-09-25 07:32:16 | amaury.forgeotdarc | link | issue6990 messages |
2009-09-25 07:32:13 | amaury.forgeotdarc | create | |
|