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

Alexander Belopolsky alexander.belopolsky at gmail.com
Thu Dec 9 06:57:04 CET 2010


On Thu, Dec 9, 2010 at 12:47 AM, "Martin v. Löwis" <martin at v.loewis.de> wrote: ..

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).

this does seem to be intentional:

$ svn log -r 84177

r84177 | amaury.forgeotdarc | 2010-08-18 16:44:58 -0400 (Wed, 18 Aug 2010) | 9 lines

#5127: Even on narrow unicode builds, the C functions that access the Unicode Database (Py_UNICODE_TOLOWER, Py_UNICODE_ISDECIMAL, and others) now accept and return characters from the full Unicode range (Py_UCS4).

The differences from Python code are few:


http://svn.python.org/view?view=rev&revision=84177



More information about the Python-Dev mailing list