Author ronaldoussoren
Recipients a-j-buxton, ronaldoussoren, serhiy.storchaka, terry.reedy
Date 2018-06-25.10:58:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529924336.98.0.56676864532.issue33930@psf.upfronthosting.co.za>
In-reply-to
Content
The crash is likely caused by recursion during the clean-up of the object().__dir__.__dir__.... chain. 

The trashcan API (see Py_TRASHCAN_SAFE_BEGIN/Py_TRASHCAN_SAFE_END in Include/object.h) can help here. 

Those do some real work and have a cost, I can't predict if that cost is substational enough to affect benchmarks (method objects are destroyed a lot).
History
Date User Action Args
2018-06-25 10:58:57ronaldoussorensetrecipients: + ronaldoussoren, terry.reedy, serhiy.storchaka, a-j-buxton
2018-06-25 10:58:56ronaldoussorensetmessageid: <1529924336.98.0.56676864532.issue33930@psf.upfronthosting.co.za>
2018-06-25 10:58:56ronaldoussorenlinkissue33930 messages
2018-06-25 10:58:56ronaldoussorencreate