[Patches] [ python-Patches-757624 ] Fixing recursive problem in SRE
SourceForge.net
noreply@sourceforge.net
Thu, 26 Jun 2003 09:52:58 -0700
Patches item #757624, was opened at 2003-06-20 01:42
Message generated for change (Comment added) made by niemeyer
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=757624&group_id=5470
Category: Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gustavo Niemeyer (niemeyer)
Assigned to: Gustavo Niemeyer (niemeyer)
Summary: Fixing recursive problem in SRE
Initial Comment:
Here is a preview for the SRE change being discussed in
python-dev mailing list. It also includes the changes
in patch #572936 (groupref_exists).
----------------------------------------------------------------------
>Comment By: Gustavo Niemeyer (niemeyer)
Date: 2003-06-26 16:52
Message:
Logged In: YES
user_id=7887
Version 5 fixes a minor bug due to a variable being used
inside a macro and a submacro. Now submacro allocates it
internally to avoid further problems.
----------------------------------------------------------------------
Comment By: Gustavo Niemeyer (niemeyer)
Date: 2003-06-26 14:55
Message:
Logged In: YES
user_id=7887
Thanks for testing it!
Here is another implementation (version 4), using a
different approach. Unlike the other implementations, this
one doesn't recurse at all, and introduce no new opcodes in
the engine.
----------------------------------------------------------------------
Comment By: Andrew I MacIntyre (aimacintyre)
Date: 2003-06-23 13:06
Message:
Logged In: YES
user_id=250749
version 3 of the patch survives a full regression test run
on both FreeBSD 4.8 & 5.1, with USE_RECURSION_LIMIT reverted
to 10000.
----------------------------------------------------------------------
Comment By: Gustavo Niemeyer (niemeyer)
Date: 2003-06-22 01:13
Message:
Logged In: YES
user_id=7887
Updated version of the patch. More on the mailing list.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=757624&group_id=5470