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

"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 PyUnicodeIsWhitespace, which is mapped by unicodeobject.h to either PyUnicodeUCS2IsWhitespace or PyUnicodeUCS4IsWhitespace.

From Python 2.5 to Python 3.1 the library pythonXX.lib contains either PyUnicodeUCS2IsWhitespace or PyUnicodeUCS4IsWhitespace. However, in Python 3.2b1 the library python32.lib contains only PyUnicodeIsWhitespace, 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