This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年04月16日 16:30 by phaering, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| 0001-CROSS-properly-detect-WINDOW-_flags-for-different-nc.patch | rpetrov, 2012年04月16日 16:59 | |||
| 3.4-issue14598-curses-WINDOW_flags.patch | masamoto, 2015年04月17日 04:00 | review | ||
| Messages (7) | |||
|---|---|---|---|
| msg158481 - (view) | Author: Peter Häring (phaering) | Date: 2012年04月16日 16:30 | |
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 |
|||
| msg158484 - (view) | Author: Roumen Petrov (rpetrov) * | Date: 2012年04月16日 16:52 | |
you could find how to resolve in last patch attached to issue 3754 |
|||
| msg158485 - (view) | Author: Roumen Petrov (rpetrov) * | Date: 2012年04月16日 16:59 | |
extracted as separate patch |
|||
| msg158601 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2012年04月18日 11:13 | |
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 #ifndef WINDOW_HAS_FLAGS #define WINDOW_HAS_FLAGS 1 #endif +*/ |
|||
| msg241308 - (view) | Author: Masayuki Yamamoto (masamoto) * | Date: 2015年04月17日 04:00 | |
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-fix on py_curses header. The quick-fix wouldn't be needed. My environment (Cygwin 1.7.35 i686) cannot check the build case that NCURSES_OPAQUE is defined zero. |
|||
| msg305375 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2017年11月01日 12:44 | |
Is this issue superseded by issue25720? |
|||
| msg305392 - (view) | Author: Masayuki Yamamoto (masamoto) * | Date: 2017年11月01日 18:57 | |
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/ml/cygwin-announce/2009-11/msg00025.html |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:29 | admin | set | github: 58803 |
| 2017年11月04日 08:56:20 | serhiy.storchaka | set | status: open -> closed superseder: Fix curses module compilation with ncurses6 resolution: duplicate stage: resolved |
| 2017年11月01日 18:57:32 | masamoto | set | status: pending -> open messages: + msg305392 |
| 2017年11月01日 12:44:14 | serhiy.storchaka | set | status: open -> pending versions: + Python 3.6, Python 3.7, - Python 3.4, Python 3.5 nosy: + serhiy.storchaka messages: + msg305375 |
| 2015年04月17日 04:00:24 | masamoto | set | files:
+ 3.4-issue14598-curses-WINDOW_flags.patch versions: + Python 3.4, Python 3.5 nosy: + masamoto messages: + msg241308 |
| 2012年10月17日 08:47:22 | devurandom | set | nosy:
+ devurandom |
| 2012年04月18日 11:13:14 | vstinner | set | nosy:
+ vstinner messages: + msg158601 |
| 2012年04月16日 16:59:03 | rpetrov | set | files:
+ 0001-CROSS-properly-detect-WINDOW-_flags-for-different-nc.patch keywords: + patch messages: + msg158485 |
| 2012年04月16日 16:52:57 | rpetrov | set | nosy:
+ rpetrov messages: + msg158484 |
| 2012年04月16日 16:30:53 | phaering | create | |