A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-November/029937.html below:

[Python-Dev] [#527371] sre bug/patch

[Python-Dev] [#527371] sre bug/patch [Python-Dev] [#527371] sre bug/patchGuido van Rossum guido@python.org
Tue, 05 Nov 2002 17:07:21 -0500
> Patch #527371, from Greg Chapman, seems to be pretty obvious, and is
> laying around for quite some time. The same pattern even happens in
> a few other places in the sre module. I suggest we apply it, including
> the fixes for lastindex mentioned in the discussion.
> 
> As a minor observation, I'd include the "state->lastmark = lastmark;"
> line inside the 'if' block when applying, as every other occurence of
> this algorithm. No big deal, but saves a few cycles.

Just be sure to keep the code compatible with Python 1.5.1 (see PEP
291).

--Guido van Rossum (home page: http://www.python.org/~guido/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4