-
Notifications
You must be signed in to change notification settings - Fork 4k
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 more Python2 compatibility #3079
base: master
Are you sure you want to change the base?
Conversation
https://issues.apache.org/jira/browse/THRIFT-5537 is still open |
@@ -17,30 +17,13 @@ | |||
# under the License. | |||
# | |||
|
|||
import sys | |||
from io import BytesIO as BufferIO # noqa |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this import needed? neither BytesIO
nor BufferIO
seems to be used in this file.
also, why the rename here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The two compat.py should go.
I planned to do this in the next PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok looks like this is from old code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like the python unit tests passed. cross-tests were not run because swift/netstd/rust are currently broken.
I'll give others some time to chime in before merging this.
@@ -17,30 +17,13 @@ | |||
# under the License. | |||
# | |||
|
|||
import sys | |||
from io import BytesIO as BufferIO # noqa |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok looks like this is from old code
Hi,
This is a follow up to #3030
(which itself took over #2588)