-
Notifications
You must be signed in to change notification settings - Fork 148
Python 3 support #153
Comments
Are you volunteering? We will need to continue to support python 2 for the time being, but IIUC that shouldn't be a big problem. |
Bugs in Python 2 also #154 I am volunteering - raising new non-duplicate issues is a significant contribution to any project. Note there are significant enhancements to this project at https://github.com/web-platform-tests/wpt/tree/master/tools/pywebsocket , and likely quite a few Python 3 fixes , such as web-platform-tests/wpt#15141 . But it take a bit of effort to pull their enhancements in. |
Oh dear. I didn't realise they'd forked it. I shall have to allocate some time for converging the versions. |
I've done a quick modernise of the syntax, which you can see at https://github.com/jayvdb/pywebsocket/tree/py3 . However what remains is a mammoth task of bytes vs str, and some important decisions need to be made by the maintainers for which layers of the codebase will be using bytes and when it switches to strings(unicode). I've done a bit of local-only hacking with |
@Ms2ger @gsnedders FYI that py3 changes in WPT's pywebsocket have been noticed. |
To close the loop, the answer is https://github.com/GoogleChromeLabs/pywebsocket3 Also for people interested in WPT, we have an issue tracking the switch: web-platform-tests/wpt#21749 |
IIRC, we took some of the Python 3 changes because we'd already forked pywebsocket and there didn't seem to be any movement here, per the discussion in web-platform-tests/wpt#21868. |
I have a PR to link to pywebsocket3 in the README. Closing this issue as we won't make further changes to this version of pywebsocket. |
This project has Python-2 only syntax. Those should be easy to fix, in order to see the more difficult problems.
See https://travis-ci.org/jayvdb/pywebsocket/jobs/512359638
The text was updated successfully, but these errors were encountered: