It is a follow-up on a previous problem.
Turns out this problem has been reported to python bug database:
http://bugs.python.org/issue13241
The llvm gcc compiler that comes with XCode 4.x is causing the problem.
Do
CC=gcc-4.2; ./configure
will fix the issue.