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.

Author luch
Recipients luch
Date 2012-03-30.10:35:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333103730.31.0.00138686411849.issue14438@psf.upfronthosting.co.za>
In-reply-to
Content
It's cygwin's issue.  Cygwin's python 2.6 has a patch for it.

Just in case:
--- origsrc/Python-2.6.5/Include/py_curses.h    2009-09-06 16:23:05.000000000 -0500
+++ src/Python-2.6.5/Include/py_curses.h        2010-04-14 15:21:23.008971400 -0500
@@ -17,6 +17,13 @@
 #define NCURSES_OPAQUE 0
 #endif /* __APPLE__ */

+#ifdef __CYGWIN__
+/* the following define is necessary for Cygwin; without it, the
+   Cygwin-supplied ncurses.h sets NCURSES_OPAQUE to 1, and then Python
+   can't get at the WINDOW flags field. */
+#define NCURSES_INTERNALS
+#endif /* __CYGWIN__ */
+
 #ifdef __FreeBSD__
 /*
 ** On FreeBSD, [n]curses.h and stdlib.h/wchar.h use different guards
History
Date User Action Args
2012-03-30 10:35:30luchsetrecipients: + luch
2012-03-30 10:35:30luchsetmessageid: <1333103730.31.0.00138686411849.issue14438@psf.upfronthosting.co.za>
2012-03-30 10:35:29luchlinkissue14438 messages
2012-03-30 10:35:29luchcreate