-
Notifications
You must be signed in to change notification settings - Fork 22
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 compatibility #38
Comments
Yes, I think i can fix it. Thanks for the suggestion! |
In the case of the Aaron Swartz's program html2text.py, the issue that your command is pointing to, has the following lines: def onlywhite(line): My question is: "is not" and "is", are the same thing that == and != in Python 3? In that case, I wouldn't need to change it. |
They aren't the same. The for instance (I'm on py3.9), using is:
But if we compare the value equality,
Looking on upstream [0], that lines was not changed, so, I would like to hear the opinion of BTW: seems that exist a newer fork of html2text https://github.com/Alir3z4/html2text/ [0] https://github.com/aaronsw/html2text/blob/master/html2text.py#L92 |
After a quick search in the code using the next flake8 command:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
I didn't follow any python3 issue. So, in my opinion openlex might be compatible with py3.BTW I follow the next issues:
And
@matiasdemarchi can you fixed it?
cc: @marian-vignau
The text was updated successfully, but these errors were encountered: