Message253145
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? |
|
Date |
User |
Action |
Args |
2015-10-18 07:05:40 | martin.panter | set | recipients:
+ martin.panter, rhettinger, vstinner, eric.snow, serhiy.storchaka, nagisa |
2015-10-18 07:05:40 | martin.panter | set | messageid: <1445151940.77.0.764905994741.issue25395@psf.upfronthosting.co.za> |
2015-10-18 07:05:40 | martin.panter | link | issue25395 messages |
2015-10-18 07:05:40 | martin.panter | create | |
|