[Python-Dev] Time for 2.3.3?

Barry Warsaw barry at python.org
Fri Nov 21 13:43:52 EST 2003


On Fri, 2003-11-21 at 13:13, Tim Peters wrote:
> [Barry Warsaw]
> > Never mind.  A fresh debug build, test -u all yields no problems with
> > 2.3cvs on RH7.3 either.
> 
> test_re.py isn't supposed to pass on 2.3 maint today.  If it passed, it's
> broken, and will start to fail as soon as the breakage is repaired.  Find
> out what USE_RECURSION_LIMIT is set to on that box.

Is it possible that USE_RECURSION_LIMIT isn't defined for my RH
builds?!  I added the attached little bit of (seemingly useful) code to
_sre.c, recompiled and then...

% ./python
Python 2.3.3a0 (#4, Nov 21 2003, 13:39:39) 
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import _sre
[24546 refs]
>>> _sre.RECURSION_LIMIT
[24546 refs]
>>> 
[24546 refs]
[7129 refs]

Very odd.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sre-patch.txt
Type: text/x-patch
Size: 682 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20031121/69c981e0/sre-patch.bin


More information about the Python-Dev mailing list