USNavalResearchLaboratory / norm

NACK-Oriented Reliable Multicast (NORM) implementation & tools (RFCs 5740, 5401)
https://www.nrl.navy.mil/Our-Work/Areas-of-Research/Information-Technology/NCS/NORM/
Other
96 stars 33 forks source link

Suggestion: Make pynorm work with Python3 #59

Closed honglei closed 1 year ago

honglei commented 2 years ago

As https://www.python.org/doc/sunset-python-2/ , hope for supporting python3

honglei commented 2 years ago

function cmp in session.py/object.py map in logparser.py should be replaced in Python3.

Try python-future

bebopagogo commented 2 years ago

@honglei - I will investigate your suggestions here. On my system, the current pynorm code from the GitHub repo is working with Python 3.8. I committed some updates a few weeks ago that seem to address that. I understand that the cmp function is deprecated. I need to look at the logparser code separately.

honglei commented 2 years ago

"On average, the share of Python 2 users decreases by 5 percentage points each year, and now only 5 developers out of 100 use it." https://lp.jetbrains.com/python-developers-survey-2021/#PythonVersions https://www.python.org/doc/sunset-python-2/