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 petr.viktorin
Recipients petr.viktorin, serhiy.storchaka, vstinner
Date 2018-09-11.22:06:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536703593.88.0.0269046726804.issue33714@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure what tp_clear should do in this situation.
Other than propagating the exception to the GC, the most reasonable behavior seems to be to write the exception to stderr and ignore it -- but I think having the GC do that would be more robust.

IOW, I think raising an exception from tp_clear is reasonable, and if that caused (causes?) a crash, it's a bug.
History
Date User Action Args
2018-09-11 22:06:33petr.viktorinsetrecipients: + petr.viktorin, vstinner, serhiy.storchaka
2018-09-11 22:06:33petr.viktorinsetmessageid: <1536703593.88.0.0269046726804.issue33714@psf.upfronthosting.co.za>
2018-09-11 22:06:33petr.viktorinlinkissue33714 messages
2018-09-11 22:06:33petr.viktorincreate