We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PyErr_FormatUnraisable
1 parent 6116032 commit c845dd0Copy full SHA for c845dd0
Modules/_curses_panel.c
@@ -434,11 +434,13 @@ PyCursesPanel_Dealloc(PyObject *self)
434
if (obj) {
435
Py_DECREF(obj);
436
if (set_panel_userptr(po->pan, NULL) == ERR) {
437
- PyErr_FormatUnraisable("Exception ignored in set_panel_userptr()");
+ curses_panel_panel_set_error(po, "set_panel_userptr", "__del__");
438
+ PyErr_FormatUnraisable("Exception ignored in PyCursesPanel_Dealloc()");
439
}
440
441
if (del_panel(po->pan) == ERR) {
- PyErr_FormatUnraisable("Exception ignored in del_panel()");
442
+ curses_panel_panel_set_error(po, "del_panel", "__del__");
443
444
445
if (po->wo != NULL) {
446
Py_DECREF(po->wo);
0 commit comments