Terry J. Reedy added the comment:
#7384 was closed two weeks ago with patches for 2.6 and 2.7 so this should be
fixed in 2.6.6 (rc1 just out) and 2.7 svn (which will become 2.7.1. Only reopen
if current/future 2.7.1 fails.
--
nosy: +terry.reedy
resolution: -> out of date
status: open
Jack Miller added the comment:
The rest of my codebase is currently only 2.x compatible, but I saw identical
symptoms about a month ago on Fedora/Mandriva when their 2.x packages were
linked against non-widechar libraries so I imagine that is indeed the solution.
I'll close the bug when I can
Stefan Krah added the comment:
Can you check if the latest patch for issue 7384 fixes the problem?
The patch is against py3k, but it comes down to this:
1) Build the readline module _only_ with -lreadline (instead of
-lreadline -lncursesw)
2) Build the curses and curses_panel modules
New submission from Jack Miller :
I have some code that gets a Pycurses window object, grabs the standard
ncurses WINDOW* out of it and proceeds to use that as usual. Works great
on Linux. Segfaults on FreeBSD/amd64.
static PyObject * mvw(PyObject *self, PyObject *args)
{
PyObject *window;