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-08 13:41:44 +00:00
parent e23c4526f5
commit 095b273afc
2 changed files with 44 additions and 24 deletions

View file

@ -23,11 +23,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')