[Patches] [ python-Patches-442512 ] SRE BIGCHARSET endianness fix

noreply@sourceforge.net noreply@sourceforge.net
Wed, 18 Jul 2001 11:24:39 -0700


Patches item #442512, was opened at 2001-07-18 11:24
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=442512&group_id=5470

Category: library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin v. Löwis (loewis)
Assigned to: Fredrik Lundh (effbot)
Summary: SRE BIGCHARSET endianness fix

Initial Comment:
The current sre_compile works only on little-endian
machines for BIGCHARSET operations; the problem is that
_sre.c addresses the block indices as a byte array,
whereas sre_compile builds it as a short integer array.

This patch fixes the problem reported in

http://mail.python.org/pipermail/python-dev/2001-July/015947.html

for SPARC Solaris.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=442512&group_id=5470