[issue17263] crash when tp_dealloc allows other threads
Antoine Pitrou
report at bugs.python.org
Tue Feb 26 12:08:15 CET 2013
Antoine Pitrou added the comment:
> And here's a patch.
Wouldn't it be better to expose and re-use the HEAD_LOCK and HEAD_UNLOCK
macros from pystate.c?
That said, I doubt this is the issue here. We are removing a string key pointing
to a localdummy object. Both are small atomic types not handled by the GC, so
I don't see how deallocating these objects could release the GIL.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17263>
_______________________________________
More information about the Python-bugs-list
mailing list