Message318289
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. |
|
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 | |
|