[Python-Dev] Can't compile regex module with Python 3.2

"Martin v. Löwis" martin at v.loewis.de
Thu Dec 9 06:47:52 CET 2010


Am 09.12.2010 03:56, schrieb MRAB:
> 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?

Are you sure about this? It's not intentional (except in the limited ABI).

Regards,
Martin


More information about the Python-Dev mailing list