tornadio2 icon indicating copy to clipboard operation
tornadio2 copied to clipboard

Python3

Open xyproto opened this issue 13 years ago • 11 comments

Hi,

Please add support for Python3.

I tried packaging tornadio2 for Python 3, for Arch Linux, by using 2to3. This resolved several issues, but there are a few minor issues left.

Thanks.

xyproto avatar Jun 11 '12 15:06 xyproto

+1

n1k0 avatar Nov 26 '12 19:11 n1k0

+1

chirimoya avatar Mar 01 '13 16:03 chirimoya

+1

755 avatar Apr 08 '13 10:04 755

+1

FZambia avatar May 05 '13 06:05 FZambia

+1

ghost avatar May 07 '13 20:05 ghost

+1

palmkevin avatar Jun 17 '14 21:06 palmkevin

I'm running into the same issue.

2016-03-20 14:37:38 [54511] [INFO] Using <class 'chaussette.backend._wsgiref.ChaussetteServer'> as a backend
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/root/.pyenv/versions/3.5.1/envs/uihdb/lib/python3.5/site-packages/circusweb/circushttpd.py", line 25, in <module>
    import tornadio2
  File "/root/.pyenv/versions/3.5.1/envs/uihdb/lib/python3.5/site-packages/tornadio2/__init__.py", line 25, in <module>
    from tornadio2.router import TornadioRouter
  File "/root/.pyenv/versions/3.5.1/envs/uihdb/lib/python3.5/site-packages/tornadio2/router.py", line 27, in <module>
    from tornadio2 import persistent, polling, sessioncontainer, session, proto, preflight, stats
  File "/root/.pyenv/versions/3.5.1/envs/uihdb/lib/python3.5/site-packages/tornadio2/persistent.py", line 143
    except Exception, ex:
                    ^
SyntaxError: invalid syntax

sivabudh avatar Mar 20 '16 07:03 sivabudh

+1

esxquillon avatar Aug 17 '16 13:08 esxquillon

same syntax error

yagggi avatar Feb 07 '17 09:02 yagggi

+1

renweibo avatar Feb 26 '18 04:02 renweibo

This is going to have to happen by next month as Py2 support is going bye bye

justquick avatar Dec 02 '19 05:12 justquick