Message163320
I just ran into this problem on another platform. I believe the problem is due to a sign-extension bug in the ncurses library unget_wch function (see link below). It was apparently fixed in nurses 5.8; I've tested with the current ncurses 5.9 and test_ncurses now runs without error.
Are you using a version of libncurses/libncursew older than 5.8? If so, can you try building with 5.8 or 5.9?
Another question is how to handle this for the 3.3.0 release. It looks like not all platforms have the latest ncurses and, if not, the unget_wch function and test_curses are likely to fail. Unfortunately, there doesn't seem to be an attribute available in the curses module that gives the version of the underlying curses/ncurses library. At the least, the problem should probably be documented somewhere.
http://invisible-island.net/ncurses/NEWS.html#t20091010 |
|
Date |
User |
Action |
Args |
2012-06-21 10:34:30 | ned.deily | set | recipients:
+ ned.deily, georg.brandl, vstinner, jcbollinger |
2012-06-21 10:34:30 | ned.deily | set | messageid: <1340274870.06.0.520721330963.issue15037@psf.upfronthosting.co.za> |
2012-06-21 10:34:29 | ned.deily | link | issue15037 messages |
2012-06-21 10:34:28 | ned.deily | create | |
|