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

2010-12-09 Thread MRAB
On 09/12/2010 23:35, Daniel Stutzbach wrote: On Wed, Dec 8, 2010 at 6:56 PM, MRAB mailto:pyt...@mrabarnett.plus.com>> wrote: Is this change intentional? If so, why does unicodeobject.h still do the mapping? In 3.2b1, unicodeobject.h doesn't map _PyUnicode_IsWhitespace: http://svn.pyth

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

2010-12-09 Thread Daniel Stutzbach
On Wed, Dec 8, 2010 at 6:56 PM, MRAB wrote: > Is this change intentional? If so, why does unicodeobject.h still do > the mapping? > In 3.2b1, unicodeobject.h doesn't map _PyUnicode_IsWhitespace: http://svn.python.org/view/python/tags/r32b1/Include/unicodeobject.h?view=markup Do you have an old

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

2010-12-09 Thread Martin v. Löwis
Am 09.12.2010 06:57, schrieb Alexander Belopolsky: > On Thu, Dec 9, 2010 at 12:47 AM, "Martin v. Löwis" wrote: > .. >>> 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 uni

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

2010-12-09 Thread MRAB
On 09/12/2010 05:57, Alexander Belopolsky wrote: On Thu, Dec 9, 2010 at 12:47 AM, "Martin v. Löwis" wrote: .. 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

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

2010-12-08 Thread Alexander Belopolsky
On Thu, Dec 9, 2010 at 12:47 AM, "Martin v. Löwis" wrote: .. >> 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 abou

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

2010-12-08 Thread Martin v. Löwis
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

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

2010-12-08 Thread 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