gevent supports py3 now. i have a working local instance of geventwebsocket that is functioning for both 2.7.9 and 3.4.3. there aren't a lot of important differences, the majority are trivial. my total diff length including context etc., is 526 lines. to note, i do have some minor modifications for my own elucidation that occupies about 25% of my current diff.
if you want to avoid 'six', here are the references i've made, it'll be real easy to make a compat.py for this small list:
David, thanks for this. Received an TypeError: can't concat bytes to str in L282, which reads message += payload. I turned the message = b'' in read_message into message = '' and that fixed it for me. Not sure if this is appropriate as I do not understand (I not even tried to) any of that code. Thanks!
It would be awesome to have gevent-websockets support for Python 3. Gevent has released its version 1.1a2 which can be run with PyPy (2.7) and Python 3.3+. Maybe the "Future" package can be used to get Python 2.6+ and Python 3.3+ compatibility. Thanks a lot!