-
Notifications
You must be signed in to change notification settings - Fork 179
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
Remove python future compatibility library and remove more python 2 compatibility code. #525
Conversation
…ompatibility code.
406365d
to
ad9b3a2
Compare
Some tests are failing for me with this, unless #538 is applied on top, so I think that should be merged before more reviewing testing is done here ( |
Just double checked - indeed there are test failures with |
So after looking at this a bit more, I think it's not necessary to do this before #536 , and is more work that way. Reasoning: apart from about 3 template changes (struct.pack no "b", iteritems->items, removal of "future"), everything substantial is changes in jmbitcoin, and the vast majority of that code is deleted, and even in a few other cases I've already simplified/removed conversions that you're editing here. The template-like changes in jmclient can easily be added later. Sorry, realise this kind of thing is rather annoying but given how much work #536 has been, I don't think it makes sense to interrupt it with a potentially confusing rebase for a fairly minor change, that will need a whole new round of testing and analysis in case something is off. |
Yes that's a reasonable thought, and thank you, but it's now kinda all done anyway. |
This is in line with #525 and corrects erroneous addition of more compatibility code.
This is in line with #525 and corrects erroneous addition of more compatibility code.
This is in line with #525 and corrects erroneous addition of more compatibility code.
Closing this on the basis that it's made redundant by #536 (although many thanks for correcting errors there as you have done). |
This is in line with #525 and corrects erroneous addition of more compatibility code.
This is in line with #525 and corrects erroneous addition of more compatibility code.
This is in line with #525 and corrects erroneous addition of more compatibility code.
Update no-history-sync code: This updates the new functionality in jmclient.wallet_utils in the no-history-sync PR #444 to be compatible with the python-bitcointx refactoring. Remove all future/py2 compatibility code remaining: This is in line with #525 and corrects erroneous addition of more compatibility code. Addresses all flake8 complaints (ununsed imports etc) Addresses review of @dgpv Addresses review of @kristapsk
No description provided.