[Python-Dev] Py2.3 Todo List

Gustavo Niemeyer niemeyer@conectiva.com
Fri, 20 Jun 2003 01:19:05 -0300


> > I've just done so! The recursion limit is gone. ...
> 
> Cool!  Very cool.  Check it in.  Note that the primary effect will be

Thanks! I'll do a few minor retouches, and check it in.

> to change complaints about the recursion limit to complaints about
> "infinite loops in sre" <0.4 wink>.

That's not true! They'll be about memory blowing up. ;-))

More seriously, the real infinite loops (like the one I've shown in the
other mail) should be prevented while parsing or compiling (which is
hopefully not hard), and the cases where the user matches against a
*really* huge string..  well..  1000**1000**1000 is easier. :-)

> BTW, it would be best to Fredrik Lundh's blessing for this, since sre is
> still "his" package.  I'm copying him on this.  Some version of Gustavo's
> patch is here:
> 
>     http://www.python.org/sf/757624

Given his wonderful work on SRE, I'd really like to know his opinion
about it. OTOH, I must confess I have a bad experience waiting for
Fredrik's opinion. :-) Hopefully, he will answer so quickly I'll feel
ashamed for even mentioning this.

-- 
Gustavo Niemeyer
http://niemeyer.net