Closed lucaswiman closed 7 years ago
Hello Lucas, thank you for your good work. Python 3 support is one of the main goal we wanted to accomplish. I commented some lines that I would like you to change before merging your pull request. Also I noticed that you continue your work in your branch so if you want you can update your pull request with new changes. Thanks again, Vittorio
I've addressed the code review comments, other than updating the server.py file to use MLLP, which I don't feel very qualified to do.
Please let me know if there are additional changes you'd like me to do.
Hello Lucas, I merged your pull requests. Regarding the server.py file, that was just a comment about the fact that we need to change the example, I didn't mean you had do that.
Thanks very much @svituz!
@svituz: Similar to @eheinz's work in #19. This PR adds compatibility with Python 3, without adding any external dependencies like six.
I tried to make the commits pretty atomic and homogeneous. The only difficult change was the encoding changes in
mllp.py
, which I'll comment on below.Testing
I verified that the tests pass on python 2.7, 3.4 and 3.5 on OS X. I updated the travis.yml file so it should also run on those versions.