This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients eric.snow, martin.panter, nagisa, rhettinger, serhiy.storchaka, vstinner
Date 2015-10-18.07:05:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445151940.77.0.764905994741.issue25395@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2015-10-18 07:05:40martin.pantersetrecipients: + martin.panter, rhettinger, vstinner, eric.snow, serhiy.storchaka, nagisa
2015-10-18 07:05:40martin.pantersetmessageid: <1445151940.77.0.764905994741.issue25395@psf.upfronthosting.co.za>
2015-10-18 07:05:40martin.panterlinkissue25395 messages
2015-10-18 07:05:40martin.pantercreate