[Python-Dev] SRE recursion removed

Martin v. Löwis martin at v.loewis.de
Sat Oct 18 15:42:53 EDT 2003


Guido van Rossum <guido at python.org> writes:

> > If you enable USE_RECURSION it will become recursive again, so it's
> > nice to see if some problem is related to the non-recursive algorithm
> > or not, and makes it easy to understand to change made.
> 
> That's okay.

There is no interface to enable USE_RECURSION except for editing
_sre.c, and I cannot see why anybody would do that (except to see
whether a bug goes away if it is enabled). So isn't then the old code
essentially dead as well?

Regards,
Martin



More information about the Python-Dev mailing list