SyntaxError on Python 3.2 using unicode u-prefix

Issue #1054 wontfix
Michael Merickel
created an issue

Using the latest on PyPI which is 2.0rc1.

<< truncated traceback >>
    from pygments import highlight
  File "/Users/michael/work/oss/pyramid_debugtoolbar/.tox/py32/lib/python3.2/site-packages/pygments/__init__.py", line 37, in <module>
    from pygments.util import StringIO, BytesIO
  File "/Users/michael/work/oss/pyramid_debugtoolbar/.tox/py32/lib/python3.2/site-packages/pygments/util.py", line 217
    return u'[%s-%s]' % (unichr(a), unichr(b))
                    ^
SyntaxError: invalid syntax

Comments (3)

  1. Log in to comment