[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2017-11-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Fix curses module compilation with ncurses6 ___ Python tracker _

[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2017-11-01 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: Probably, yes. ncurses on Cygwin has provided is_pad() [*]. In addition, the old version of Cygwin will become to not define WINDOW_HAS_FLAGS by issue25720. [*] newer version than patchlevel 20090906 was provided on Cygwin in 2009. https://sourceware.org/m

[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2017-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is this issue superseded by issue25720? -- nosy: +serhiy.storchaka status: open -> pending versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker

[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2015-04-16 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: I rewrote the patch for Python 3.4. The configure and pyconfig.h.in were generated by autoreconf. If evaluate to the curses WINDOW doesn't have the _flags member, The configure script defines related macros and checks the member again. And removed the quick-f

[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2012-10-17 Thread devurandom
Changes by devurandom : -- nosy: +devurandom ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2012-04-18 Thread STINNER Victor
STINNER Victor added the comment: You should remove the old code instead of comment it. +/* NOTE configure check if ncurses require such definition #define NCURSES_OPAQUE 0 +*/ +/* NOTE configure check for existence of flags + * Also flags are visible only if WINDOW structure is not opaque #

[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2012-04-16 Thread Roumen Petrov
Roumen Petrov added the comment: extracted as separate patch -- keywords: +patch Added file: http://bugs.python.org/file25243/0001-CROSS-properly-detect-WINDOW-_flags-for-different-nc.patch ___ Python tracker ___

[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2012-04-16 Thread Roumen Petrov
Roumen Petrov added the comment: you could find how to resolve in last patch attached to issue 3754 -- nosy: +rpetrov ___ Python tracker ___

[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2012-04-16 Thread Peter Häring
New submission from Peter Häring : I need to define NCURSES_INTERNALS in py_curses.h before ncurses.h is included, even on my Linux system with ncurses-5.9. See the same issue for cygwin: 14438 -- components: Extension Modules messages: 158481 nosy: phaering priority: normal severity: