Your message dated Tue, 16 Oct 2012 14:38:50 +0200
with message-id <[email protected]>
and subject line Re: Bug#687581: python 3.2 misconfigured for ncursesw pads
has caused the Debian Bug report #687581,
regarding python 3.2 misconfigured for ncursesw pads
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
687581: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687581
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3.2-minimal
Version: 3.2.3-2

The packaged version of python3.2-minimal has "#undef WINDOW_HAS_FLAGS" in
pyconfig.h which breaks all software relying on Python's curses pad support.

I wrote a basic test @ http://codezen.org/static/pad_test.py

All it does is import curses, instantiate a screen and a pad and attempt to
call the nourtrefresh() function. With pad support, this takes 6 arguments,
without pad support it excepts.

The test prints "noutrefresh call FAILED!" on failure.

This test works on squeeze, fails on wheezy and other derivatives (Ubuntu
12.04 tested).

I suggest the build for python3.2-minimal be modified to correctly detect
that the installed ncurses version WINDOW struct does indeed have a _flags
member and properly set the pyconfig.h define.

I'm fairly certain that this isn't a Python bug because downloading and
configuring Python 3.2.3 by hand yields a pyconfig.h with WINDOW_HAS_FLAGS
correctly set.

- Jack

--- End Message ---
--- Begin Message ---
Version: 3.2.3-6

On 13.10.2012 15:41, Karol M. Langner wrote:
> I can confirm that pads work using python3.1 from squeeze (which has this 
> flag set), and recompiling python3.2 from source also helps.
> 
> - Karol
> 

Not seen with the 3.2.3-6 builds.

--- End Message ---

Reply via email to