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 ronaldoussoren
Recipients Julian, Nam.Nguyen, Oleg.Plakhotnyuk, Yury.Selivanov, barry, ezio.melotti, gvanrossum, michael.foord, ned.deily, ronaldoussoren, vstinner, xapple
Date 2012-01-11.21:56:04
SpamBayes Score 1.4318933e-07
Marked as misclassified No
Message-id <1326318965.43.0.28657050808.issue13241@psf.upfronthosting.co.za>
In-reply-to
Content
I've found a bug in the curses module that is causing problems:


diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -2056,7 +2056,8 @@
     {"encoding",
      (getter)PyCursesWindow_get_encoding,
      (setter)PyCursesWindow_set_encoding,
-     "the typecode character used to create the array"}
+     "the typecode character used to create the array"},
+    {NULL, NULL, NULL, NULL}
 };
 
 /* -------------------------------------------------------*/

That is, there is no sentinel in the PyCursesWindow_getsets list. Shouldn't this cause failures on more platforms than just OSX?

With this patch I can build python 3.3 with clang (as included in Xcode 4.2.1). 

BTW. clang as included with Xcode 4.2.1 seems to build the attached copy of unicode.c without problems, the gcc command still fails though.

I did run into problems when building outside of the source directory, but that seems to be an unrelated issue.
History
Date User Action Args
2012-01-11 21:56:05ronaldoussorensetrecipients: + ronaldoussoren, gvanrossum, barry, vstinner, ned.deily, ezio.melotti, michael.foord, Yury.Selivanov, Julian, Nam.Nguyen, Oleg.Plakhotnyuk, xapple
2012-01-11 21:56:05ronaldoussorensetmessageid: <1326318965.43.0.28657050808.issue13241@psf.upfronthosting.co.za>
2012-01-11 21:56:04ronaldoussorenlinkissue13241 messages
2012-01-11 21:56:04ronaldoussorencreate