This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients Arfrever, ezio.melotti, jkloth, mrabarnett, pitrou, r.david.murray, tchrist, terry.reedy
Date 2011-08-14.16:00:34
SpamBayes Score 7.3557636e-08
Marked as misclassified No
Message-id <1313337636.05.0.20997349067.issue12749@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-08-14 16:00:36ezio.melottisetrecipients: + ezio.melotti, terry.reedy, pitrou, jkloth, mrabarnett, Arfrever, r.david.murray, tchrist
2011-08-14 16:00:36ezio.melottisetmessageid: <1313337636.05.0.20997349067.issue12749@psf.upfronthosting.co.za>
2011-08-14 16:00:35ezio.melottilinkissue12749 messages
2011-08-14 16:00:34ezio.melotticreate