Message23115
Logged In: YES
user_id=38376
This was changed in 2.4b1 (didn't I mail you about this?):
>>> p = re.compile ('(' + '|'.join (['(xxx)']*200) + ')')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/home/fredrik/NOBACKUP/python-
dev/python/dist/src/Lib/sre.py", line 180, in compile
return _compile(pattern, flags)
File "/home/fredrik/NOBACKUP/python-
dev/python/dist/src/Lib/sre.py", line 225, in _compile
p = sre_compile.compile(pattern, flags)
File "/home/fredrik/NOBACKUP/python-
dev/python/dist/src/Lib/sre_compile.py", line 506, in compile
raise AssertionError(
AssertionError: sorry, but this version only supports 100
named groups
As for the real fix, it arrived too close to the beta release,
and while it looks pretty solid, I'm not sure if it's a good idea
to add it this close to a major release. I'll bring this up on
python-dev, when I find the time.
|
|
| Date |
User |
Action |
Args |
| 2007-08-23 14:27:26 | admin | link | issue1065427 messages |
| 2007-08-23 14:27:26 | admin | create | |
|