Ezio Melotti <ezio.melo...@gmail.com> added the comment: 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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12749> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com