make code compatible with both python2 and python3#21
Open
corsmith wants to merge 1 commit intohaiwen:masterfrom
Open
make code compatible with both python2 and python3#21corsmith wants to merge 1 commit intohaiwen:masterfrom
corsmith wants to merge 1 commit intohaiwen:masterfrom
Conversation
|
+1 |
|
That’s all to make my system nearly python2-free? awesome! could you please update it? |
|
There are only 6 months left until EOL: The change seems trivial. Could you verify and accept the pull please? |
Member
|
We're now working on the migration from Python 2 to Python 3 officially. Libsearpc has been updated to run in both Python 3 and Python 2.7. See this branch: https://github.com/haiwen/libsearpc/tree/python3 |
fe1e1e5 to
c5d031e
Compare
Contributor
|
This could be closed then, right @feiniks ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These changes allow the python code to run on both python2 and python3. It was tested under python2.7 and python3.4. The behavior was the same with both.
The intent is to make this program easier to package on FreeBSD when python3 is the default python version.
Please consider this request for inclusion in your repository.