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 78976e8 commit a21b820Copy full SHA for a21b820
Modules/_cursesmodule.c
@@ -933,6 +933,7 @@ PyCursesWindow_dealloc(PyObject *self)
933
PyCursesWindowObject *wo = (PyCursesWindowObject *)self;
934
if (wo->win != stdscr && wo->win != NULL) {
935
if (delwin(wo->win) == ERR) {
936
+ curses_window_set_error(wo, "delwin", "__del__");
937
PyErr_FormatUnraisable("Exception ignored in delwin()");
938
}
939
0 commit comments