facebookarchive / nailgun

Nailgun is a client, protocol, and server for running Java programs from the command line without incurring the JVM startup overhead.
https://github.com/facebook/nailgun
Other
731 stars 138 forks source link

Add Python3 support #128

Closed valencik closed 6 years ago

valencik commented 6 years ago

This PR modifies pynailgun to work under both Python 2.7 and Python 3.5/3.6.

Here are some of the changes necessary to be compatible with both Python 2 and 3.

Additionally it changes the TravisCI build script to test multiple Python versions explicitly. You can see my changes passes in TravisCI here: https://travis-ci.org/valencik/nailgun

Perhaps of note, I have built and tested these modifications in a fork of https://github.com/scalacenter/bloop and things worked wonders under both Python versions. Please do let me know if anything else is needed to get this merged. I am happy to help.

(https://github.com/facebook/nailgun/issues/127)