[Python-Dev] New re failures on Windows

Tim Peters tim.one@comcast.net
Sat, 19 Apr 2003 21:46:22 -0400


Sorry, I can't make time for this.

test_re is failing today:

"""
C:\Code\python\PCbuild>python ../lib/test/test_re.py
Running tests on re.search and re.match
Running tests on re.sub
Running tests on symbolic references
Running tests on re.subn
Running tests on re.split
Running tests on re.findall
Running tests on re.match
Running tests on re.escape
Pickling a RegexObject instance
Test engine limitations
maximum recursion limit exceeded
Running re_tests test suite
=== grouping error ('^((a)c)?(ab)$', 'ab', 0, 'g1+"-"+g2+"-"+g3',
'None-None-ab'
) 'None-a-ab' should be 'None-None-ab'
"""

test_sre is dying with a segfault:

"""
C:\Code\python\PCbuild>python ../lib/test/test_sre.py
Running tests on character literals
Running tests on sre.search and sre.match
sre.match(r'(a)?a','a').lastindex FAILED
expected None
got result 1
sre.match(r'(a)(b)?b','ab').lastindex FAILED
expected 1
got result 2
sre.match(r'(?P<a>a)(?P<b>b)?b','ab').lastgroup FAILED
expected 'a'
got result 'b'
Running tests on sre.sub
Running tests on symbolic references
Running tests on sre.subn
Running tests on sre.split
Running tests on sre.findall
Running tests on sre.finditer
Running tests on sre.match
Running tests on sre.escape
Running tests on sre.Scanner
Pickling a SRE_Pattern instance
Test engine limitations
"""

and it dies with a segfault there.  Unfortunately, test_sre doesn't die in a
debug build.