-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Here the first possible error will be overwritten by the second one:
Lines 14981 to 14990 in 3cdfdc0
termsize = PyStructSequence_New((PyTypeObject *)TerminalSizeType); | |
if (termsize == NULL) | |
return NULL; | |
PyStructSequence_SET_ITEM(termsize, 0, PyLong_FromLong(columns)); | |
PyStructSequence_SET_ITEM(termsize, 1, PyLong_FromLong(lines)); | |
if (PyErr_Occurred()) { | |
Py_DECREF(termsize); | |
return NULL; | |
} | |
return termsize; |
Linked PRs
Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error