Message318289
| Author | serhiy.storchaka |
|---|---|
| Recipients | serhiy.storchaka |
| Date | 2018-05-31.12:21:45 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1527769305.39.0.682650639539.issue33714@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The tp_clear handler of the module object calls a custom clear function if the PyModuleDef.m_clear field is set. This function can set an exception which will be leaked to the garbage collector. An exception in tp_clear is not expected and caused a crash in the garbage collector. In the master branch it will cause just writing a traceback to stderr (see issue33622), but in any case it would be better to handle the failure locally in the module's tp_clear. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-05-31 12:21:45 | serhiy.storchaka | set | recipients: + serhiy.storchaka |
| 2018-05-31 12:21:45 | serhiy.storchaka | set | messageid: <1527769305.39.0.682650639539.issue33714@psf.upfronthosting.co.za> |
| 2018-05-31 12:21:45 | serhiy.storchaka | link | issue33714 messages |
| 2018-05-31 12:21:45 | serhiy.storchaka | create | |