[Python-Dev] New test failure on Windows

Tim Peters tim.one@comcast.net
Thu, 24 Apr 2003 18:01:42 -0400


Last-second re changes don't appear to be going in the right direction
<wink>:

C:\Code\python\PCbuild>python ../lib/test/test_re.py
Running re_tests test suite
test_basic_re_sub (__main__.ReTests) ... ok
test_constants (__main__.ReTests) ... ok
test_escaped_re_sub (__main__.ReTests) ... ok
test_flags (__main__.ReTests) ... ok
test_limitations (__main__.ReTests) ... ERROR
test_pickling (__main__.ReTests) ... ok
test_qualified_re_split (__main__.ReTests) ... ok
test_qualified_re_sub (__main__.ReTests) ... ok
test_re_escape (__main__.ReTests) ... ok
test_re_findall (__main__.ReTests) ... ok
test_re_match (__main__.ReTests) ... ok
test_re_split (__main__.ReTests) ... ok
test_re_subn (__main__.ReTests) ... ok
test_search_star_plus (__main__.ReTests) ... ok
test_symbolic_refs (__main__.ReTests) ... ok

======================================================================
ERROR: test_limitations (__main__.ReTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "../lib/test/test_re.py", line 182, in test_limitations
    self.assertEqual(re.match('(x)*', 50000*'x').span(), (0, 50000))
  File "C:\Code\python\lib\sre.py", line 132, in match
    return _compile(pattern, flags).match(string)
RuntimeError: maximum recursion limit exceeded

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