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

[python3] Remove a set of six uses from tools/ #27443

Merged
merged 5 commits into from Feb 4, 2021
Merged

Conversation

stephenmcgruer
Copy link
Contributor

@stephenmcgruer stephenmcgruer commented Feb 2, 2021

Now that we are Python3-only, this starts to tear out our usage of six.

Commits are organized by subdirectory, and this covers four of them: lint/, wpt/,
serve/ and ci/. In each I removed all uses of six except for the ensure_* calls,
which are not trivially replaceable.

@stephenmcgruer stephenmcgruer force-pushed the smcgruer/six-cleanup-1 branch 4 times, most recently from d1127d8 to ceff724 Compare February 2, 2021 17:06
@stephenmcgruer stephenmcgruer reopened this Feb 3, 2021
The exception left behind was a set of ensure_text and ensure_binary
calls, which are not trivially replaceable.
The exceptions were a set of ensure_text/ensure_string functions, which
cannot be trivially replaced.
The exceptions are a set of ensure_* methods, which cannot be trivially
replaced.
@stephenmcgruer stephenmcgruer changed the title [python3] Remove most uses of six in tools/lint/ [python3] Remove a set of six uses from tools/ Feb 3, 2021
@stephenmcgruer stephenmcgruer marked this pull request as ready for review February 3, 2021 21:11
@jgraham jgraham merged commit eebda56 into master Feb 4, 2021
@jgraham jgraham deleted the smcgruer/six-cleanup-1 branch February 4, 2021 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants