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 <>
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.
Date User Action Args
2018-09-11 22:06:33petr.viktorinsetrecipients: + petr.viktorin, vstinner, serhiy.storchaka
2018-09-11 22:06:33petr.viktorinsetmessageid: <>
2018-09-11 22:06:33petr.viktorinlinkissue33714 messages
2018-09-11 22:06:33petr.viktorincreate