Message340228
ncurses version: 6.1
TERM: screen-256color
$ ./python -m test -u curses test_curses
Run tests sequentially
0:00:00 load avg: 0.55 [1/1] test_curses
test test_curses failed -- Traceback (most recent call last):
File "/path/to/Lib/test/test_curses.py", line 285, in test_colors_funcs
curses.pair_content(curses.COLOR_PAIRS - 1)
OverflowError: signed short integer is greater than maximum
test_curses failed
== Tests result: FAILURE ==
Not sure if the following is relevant.
In /usr/include/ncurses.h:
NCURSES_WRAPPED_VAR(int, COLOR_PAIRS);
...
#define COLOR_PAIRS NCURSES_PUBLIC_VAR(COLOR_PAIRS())
...
extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
ncurses 6.1 release notes [1] says:
The TERMINAL structure in <term.h> is now opaque. Doing that allowed making the structure larger, to hold the extended numeric data.
...
The new data in TERMINAL holds the same information as TERMTYPE, but with larger numbers (“int” versus “short”). It is named TERMTYPE2.
[1] https://www.gnu.org/software/ncurses/ |
|
Date |
User |
Action |
Args |
2019-04-14 19:32:58 | xdegaye | set | recipients:
+ xdegaye |
2019-04-14 19:32:58 | xdegaye | set | messageid: <1555270378.07.0.766030130411.issue36630@roundup.psfhosted.org> |
2019-04-14 19:32:58 | xdegaye | link | issue36630 messages |
2019-04-14 19:32:57 | xdegaye | create | |
|