Issue #9770: curses.ascii predicates now work correctly with negative integers.