Issue #7384: If the system readline library is linked against ncurses,

the curses module must be linked against ncurses as well. Otherwise it
is not safe to load both the readline and curses modules in an application.

Thanks Thomas Dickey for answering questions about ncurses/ncursesw
and readline!
This commit is contained in:
Stefan Krah 2010-06-03 12:39:50 +00:00
parent 4da7d410b3
commit 449aa86bd6
3 changed files with 41 additions and 24 deletions

View file

@ -21,11 +21,6 @@ requires('curses')
curses = import_module('curses')
curses.panel = import_module('curses.panel')
# skip all these tests on FreeBSD: test_curses currently hangs the
# FreeBSD buildbots, preventing other tests from running. See issue
# #7384.
if 'freebsd' in sys.platform:
raise unittest.SkipTest('The curses module is broken on FreeBSD. See http://bugs.python.org/issue7384.')
# XXX: if newterm was supported we could use it instead of initscr and not exit
term = os.environ.get('TERM')