SF patch #720991 by Gary Herron:

A small fix for bug #545855 and Greg Chapman's
addition of op code SRE_OP_MIN_REPEAT_ONE for
eliminating recursion on simple uses of pattern '*?' on a
long string.
This commit is contained in:
Guido van Rossum 2003-04-14 17:59:34 +00:00
parent 44c62ef5ee
commit 41c99e7f96
7 changed files with 89 additions and 4 deletions

View file

@ -54,6 +54,10 @@ Core and builtins
Extension modules
-----------------
- The .*? pattern in the re module is now special-cased to avoid the
recursion limit. (SF patch #720991 -- many thanks to Gary Herron
and Greg Chapman.)
- New function sys.call_tracing() allows pdb to debug code
recursively.