[SciPy-user] Problems building SciPy-0.3 on OS X

Pearu Peterson pearu at scipy.org
Wed Aug 11 00:12:09 CDT 2004



On Tue, 10 Aug 2004, Tom Loredo wrote:

> 
> > Also try saving "interface" string to a file, then from a fresh Python 
> > session load the string, and apply subroutine_exp.findall to it. Will 
> > Python crash also then? 
> 
> Thanks for the suggestion.  Here is the interface string, and a Python
> script that does the check:
> 
> http://www.museweb.com/interface.txt
> http://www.museweb.com/check_re.py
> 
> Running the script with MacPy 2.3.3 on 10.2.8 gives a segfault.  Running 
> it with /usr/bin/python works fine.  I've also tried it on a Sun machine
> with python2.2.2 and a linux machine with 2.3.3 and it works fine on those,
> too.  It appears this is a MacPy 2.3.3 bug (presumably in the re module).
> I will copy this info to Pythonmac-Sig in the hopes that Jack or someone
> else there can help.  I posted the original problem there with no response
> yet.

Try using the old re module in check_re.py. For that replace

  import re

with

  import pre as re

in check_re.py. What happens?

Pearu



More information about the SciPy-user mailing list