-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python3 support #80
Comments
Is something like the patch below perhaps what you are looking for?
|
generally speaking, yes, something like this, but from what I have tried while ago, I know, more changes has to be done. I have tried to prepare patch for Fedora 30 (see below). It's able to successfully build python3 code, but from end users I know, the functionality isn't the same as Python 2 version.
|
Can you have a look at the patches that I checked in on the v5.8 and master branches and verify whether that code works as expected? The changes have been made such that the Net-SNMP Python code still compiles when the Python interpreter is changed back to Python 2. |
I've tested the recent Python3 changes in a Solaris11 environment, which has the 5.8 stable version of net-snmp. There were a couple of changes which were required for the tests to pass. I've attached the changes, all the tests pass with the following changes included. |
See also net-snmp#80. [ bvanassche: Removed commented out code and fixed compiler warnings ]
A modified patch has been applied on the v5.8 and master branches. Please retest. Anyway, thanks for the patch! |
Python 2 has reached it's EOL in January 2020. Are there any plans to migrate current Python 2 code to Python 3 version?
I know, there are some separate repositories with Python 3 port of your Python 2 code, but AFAIK, those aren't 100% functionally compatible with your Python 2 version.
The text was updated successfully, but these errors were encountered: