gh-156348: Fix the value of curses.ERR - #156349
Conversation
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.
|
|
|
Setting the module constants with an unsigned conversion, needed for the
chtypeconstants that can set bits beyond a 32-bit long, turnedERRfrom -1 into 18446744073709551615. SetERRandOKwith a signed conversion.ERRis the only signed constant set that way.