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

Don't use six.string_types in wptserve. #11754

Merged
merged 1 commit into from Jul 2, 2018
Merged

Don't use six.string_types in wptserve. #11754

merged 1 commit into from Jul 2, 2018

Conversation

Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Jul 2, 2018

In python 2, it's defined as basestring, so it matches both str and unicode,
but in python 3, it matches only str (and not bytes). This does not seem like
a useful approach as we add python 3 support, and the now-passing tests
support that view.

In python 2, it's defined as basestring, so it matches both str and unicode,
but in python 3, it matches only str (and not bytes). This does not seem like
a useful approach as we add python 3 support, and the now-passing tests
support that view.
@jgraham jgraham merged commit f1587a3 into master Jul 2, 2018
@Ms2ger Ms2ger deleted the py3-string_types branch July 4, 2018 08:17
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.

None yet

3 participants