[Python-Dev] Can't compile regex module with Python 3.2 (original) (raw)

MRAB python at mrabarnett.plus.com
Thu Dec 9 03:56:40 CET 2010


The regex module calls _PyUnicode_IsWhitespace, which is mapped by unicodeobject.h to either _PyUnicodeUCS2_IsWhitespace or _PyUnicodeUCS4_IsWhitespace.

From Python 2.5 to Python 3.1 the library pythonXX.lib contains either _PyUnicodeUCS2_IsWhitespace or _PyUnicodeUCS4_IsWhitespace.

However, in Python 3.2b1 the library python32.lib contains only _PyUnicode_IsWhitespace, therefore breaking the build.

Is this change intentional? If so, why does unicodeobject.h still do the mapping?

Windows XP Pro, 32-bit.



More information about the Python-Dev mailing list