Affects the package in quantal as well. Part of the patch to enable
linking to libncursesw5 seems to have been dropped between python2.7 and
python3.2, so looking at the build log we see:

checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no

But in the python2.7 build log, those are all yes. If HAVE_NCURSES_H is
not set, we do not get WINDOW_HAS_FLAGS, which is checked to determine
if pad.refresh() has arguments or not. (In
Modules/_cursesmodule.c:PyCursesWindow_Refresh)

Attaching a debdiff which adds back the part of debian/patches/ncursesw-
include.diff against configure.in to add /usr/include/ncursesw/ to
CPPFLAGS when looking for the headers/checking features. Rebuilding with
the patch and your test case succeeds.

** Patch added: "python3.2-fix-curses.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python3.2/+bug/1021783/+attachment/3215446/+files/python3.2-fix-curses.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1021783

Title:
  invalid behavior of curses.newpad().refresh()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.2/+bug/1021783/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to