Martin Panter added the comment:

Here is a patch that seems to fix the problem for me. Can someone who knows 
more about tp_dealloc() methods and the Py_TRASHCAN_SAFE stuff have a look? All 
I know is that the body of the trashcan stuff can be deferred until an outer 
nested body is finished, so I though it might be best to defer that 
PyDict_Type.tp_dealloc() call as well.

Is it worth packaging up my simplified code in a test case, perhaps in an 
assert_python_ok() child process?

----------
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file40804/odict-trashcan.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25395>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to