[ python-Bugs-1548252 ] Recursion limit exceeded in the match function
SourceForge.net
noreply at sourceforge.net
Tue Aug 29 09:03:43 CEST 2006
Bugs item #1548252, was opened at 2006-08-29 00:05
Message generated for change (Settings changed) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1548252&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: wojtekwu (wojtekwu)
Assigned to: Nobody/Anonymous (nobody)
Summary: Recursion limit exceeded in the match function
Initial Comment:
Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200
32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for
more information.
>>> import re
>>> exp = re.compile("((a*)(b*))*")
>>> result = exp.match("a")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
RuntimeError: maximum recursion limit exceeded
>>>
----------------------------------------------------------------------
Comment By: Andres Riancho (andresriancho)
Date: 2006-08-29 01:31
Message:
Logged In: YES
user_id=1284064
I tried this on:
Python 2.4.3 (#2, Apr 27 2006, 14:43:58)
seems to be fixed.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1548252&group_id=5470
More information about the Python-bugs-list
mailing list