Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a-detiste
Copy link
Contributor

Hi,

This is a follow up to #3030
(which itself took over #2588)

@a-detiste
Copy link
Contributor Author

@fishy fishy added the python label Dec 26, 2024
@@ -17,30 +17,13 @@
# under the License.
#

import sys
from io import BytesIO as BufferIO # noqa
Copy link
Member

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?

Copy link
Contributor Author

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

Copy link
Member

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

Copy link
Member

@fishy fishy left a 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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants