You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Historically the update_lines_cols() helper returned 0 on error, and I think that it is better to keep it so.
The bug is in the Python function update_lines_cols() added in 3.5 (see bpo-4254). Its implementation should return NULL if the helper returns 0, and None otherwise. There is no reason to return an integer.
New changeset 2bc3434 by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-36589: Fix the error handling in curses.update_lines_cols(). (GH-12766) 2bc3434
New changeset 187785e by Serhiy Storchaka in branch '3.8':
[3.8] bpo-36589: Fix the error handling in curses.update_lines_cols(). (GH-12766) (GH-24023) 187785e
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: