gh-156348: Fix the value of curses.ERR (GH-156349)
Setting the module constants with an unsigned conversion, needed for the chtype constants that can set bits beyond a 32-bit long, turned ERR from -1 into 18446744073709551615. Set ERR and OK with a signed conversion.
S
Serhiy Storchaka committed
a728080492e6cdcffebbfe11e520a1cf6e7aaee1
Parent: fe8ace3
Committed by GitHub <noreply@github.com>
on 8/25/2026, 9:22:46 AM