[Python-Dev] Py2.3 Todo List
Gustavo Niemeyer
niemeyer@conectiva.com
Thu, 19 Jun 2003 11:26:57 -0300
> For example, to do something really useful, get rid of the recursion
> in SRE (although this might be beyond the scope of a beta 2 as well).
I've just done so! The recursion limit is gone. And the interesting
part is, there's less code, and the logic is a lot simpler and
more obvious. My tests have shown that there was no slow down, and
indeed some cases are faster. All regression tests succeed (besides
those that checked the recursion limit), and, of course, these work:
>>> import re
>>> re.match("^(?:x)*$", 5000000*"x")
<_sre.SRE_Match object at 0x300eb258>
>>> re.match("^(?:x)*?$", 5000000*"x")
<_sre.SRE_Match object at 0x300eb5c8>
Now, for the question...
<jumping frenetically> Can I commit!? Can I commit!? </>
:-)
--
Gustavo Niemeyer
http://niemeyer.net