[Python-bugs-list] [ python-Bugs-233790 ] [Irix] re package does not work.

nobody nobody@sourceforge.net
Fri, 02 Mar 2001 02:42:30 -0800


Bugs #233790, was updated on 2001-02-23 10:02
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=233790&group_id=5470

Category: Python Interpreter Core
Group: Platform-specific
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous
Assigned to: Fredrik Lundh
Summary: [Irix] re package does not work.

Initial Comment:
The re package does not seem to work at all under Irix 6.5 + gcc 2.8.1 (either before or after the sre Misc Patch is applied)

Python 2.0 (#1, Feb 23 2001, 01:24:07) 
[GCC 2.8.1] on irix6
Type "copyright", "credits" or "license" for more information.
>>> import re
>>> m = re.compile("^ab$").match("ab")
>>> print m
None
>>> import pre
>>> m = pre.compile("^ab$").match("ab")
>>> print m
<pre.MatchObject instance at 10201d64>

pre serves as a reasonable substitute, but since earlier versions of Python don't have it, one can't distribute a portable package easily.


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

Comment By: Fredrik Lundh
Date: 2001-03-02 02:42

Message:
Logged In: YES 
user_id=38376

ouch.

what does the test suite say?  (lib/tests/test_sre)

have you tried compiling _sre.c with less/no optimization?

do you get any warnings from the compiler when compiling 
the _sre module?

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

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