A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-May/035835.html below:

[Python-Dev] _sre changes

[Python-Dev] _sre changesAndrew MacIntyre andymac@bullseye.apana.org.au
Sun, 25 May 2003 10:35:18 +1000 (EST)
On Sat, 24 May 2003, Gustavo Niemeyer wrote:

> to backport some of the fixes we have introduced in the regular
> expression engine in 2.3 to 2.2.3, or is it too late? We have a sf patch
> open about that, but I'd like to port only the changes that don't
> require major changes in the engine.

These sre changes are giving me fits on FreeBSD.  The fix (recursion
limit down to 7500 for gcc 3.x) applied for 2.3b1 now needs to be extended
to gcc 2.95, and the limit for gcc 3.x lowered further - not a
particularly satisfactory outcome.

I have identified that the problem is not the compiler specifically, but
an interaction with FreeBSD's pthreads implementation (libc_r) -
./configure --without-threads produces an interpreter which survives
test_re with a recursion limit of 10000 regardless of compiler.

I'm still trying to frame a query to a FreeBSD forum about this.

--
Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andymac@bullseye.apana.org.au  (pref) | Snail: PO Box 370
        andymac@pcug.org.au             (alt) |        Belconnen  ACT  2616
Web:    http://www.andymac.org/               |        Australia



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