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
{{ message }}
Repository navigation
curses.ERR is 18446744073709551615 instead of -1 #156348
It is -1 in 3.15 and earlier. Code that compares the result of window.getch(), which returns -1 when there is no input, with curses.ERR silently stops matching.
The unsigned conversion is needed for the chtype constants, which can set bits beyond a 32-bit long, but ERR is the only signed constant set that way.
Activity
gh-156348: Fix the value of curses.ERR (GH-156349)
pythongh-156348: Fix the value of curses.ERR (pythonGH-156349)