Message142059
On a wide 2.7 and 3.3 all the 3 tests pass.
On a narrow 3.2 I get
match 1 passed
Traceback (most recent call last):
File "/home/wolf/dev/py/3.2/Lib/functools.py", line 176, in wrapper
result = cache[key]
KeyError: (<class 'str'>, '[𝒜-𝒵]', 32)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "bigrange.py", line 16, in <module>
if re.search("[𝒜-𝒵]", "𝒞", flags):
File "/home/wolf/dev/py/3.2/Lib/re.py", line 158, in search
return _compile(pattern, flags).search(string)
File "/home/wolf/dev/py/3.2/Lib/re.py", line 255, in _compile
return _compile_typed(type(pattern), pattern, flags)
File "/home/wolf/dev/py/3.2/Lib/functools.py", line 180, in wrapper
result = user_function(*args, **kwds)
File "/home/wolf/dev/py/3.2/Lib/re.py", line 267, in _compile_typed
return sre_compile.compile(pattern, flags)
File "/home/wolf/dev/py/3.2/Lib/sre_compile.py", line 491, in compile
p = sre_parse.parse(p, flags)
File "/home/wolf/dev/py/3.2/Lib/sre_parse.py", line 692, in parse
p = _parse_sub(source, pattern, 0)
File "/home/wolf/dev/py/3.2/Lib/sre_parse.py", line 315, in _parse_sub
itemsappend(_parse(source, state))
File "/home/wolf/dev/py/3.2/Lib/sre_parse.py", line 461, in _parse
raise error("bad character range")
sre_constants.error: bad character range |
|
Date |
User |
Action |
Args |
2011-08-14 16:00:36 | ezio.melotti | set | recipients:
+ ezio.melotti, terry.reedy, pitrou, jkloth, mrabarnett, Arfrever, r.david.murray, tchrist |
2011-08-14 16:00:36 | ezio.melotti | set | messageid: <1313337636.05.0.20997349067.issue12749@psf.upfronthosting.co.za> |
2011-08-14 16:00:35 | ezio.melotti | link | issue12749 messages |
2011-08-14 16:00:34 | ezio.melotti | create | |
|