does not woth (Py3.2) #612

tr00per opened this Issue Oct 18, 2012 · 1 comment


None yet
2 participants

tr00per commented Oct 18, 2012

I've checked out the latest revision and run ./ I got:

Traceback (most recent call last):
  File "/usr/lib/python3.2/", line 160, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python3.2/", line 73, in _run_code
    exec(code, run_globals)
  File "/home/tr00per/projects/tornado/tornado/test/", line 7, in <module>
    from tornado.httpclient import AsyncHTTPClient
  File "tornado/", line 406
    except HTTPError, e:
SyntaxError: invalid syntax

bdarnell commented Oct 19, 2012

This is the same as the other issue you posted. Tornado's source code is written for python 2; to use it on python 3 it must be installed so that 2to3 is run. Try installing tox and using "tox -e py32" to run the tests under python 3.2.

@bdarnell bdarnell closed this in db843a5 Oct 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment