-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
gh-110260: Check for PyList_SetItem errors in termios module
#110261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
There are other cases with different functions / modules. But, I want to be short in my PR, this way it is easier to merge them :) |
Modules/termios.c
Outdated
| if (PyList_SetItem(cc, VMIN, v) < 0) { | ||
| goto err; | ||
| PyList_SetItem(cc, VMIN, v); | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| }; | |
| } |
|
termiosmodule #110260