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 Python 2 hashlib.hexdigest() decoding #7965

Merged
merged 1 commit into from Jun 28, 2019

Conversation

Eric-Arellano
Copy link
Contributor

In Python 2, hashlib.hexdigest() returned a byte string, but unicode in Py3. We adopted an idiom to always return unicode, which we can now remove.

@Eric-Arellano
Copy link
Contributor Author

Cancelling CI because this requires #7964 to be merged first, so that we can remove a from future.utils import PY3 import.

@Eric-Arellano Eric-Arellano changed the title Remove Python 2 hashlib.hexdiget() decoding Remove Python 2 hashlib.hexdigest() decoding Jun 28, 2019
Copy link
Contributor

@blorente blorente left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@Eric-Arellano Eric-Arellano merged commit 159e3b1 into pantsbuild:master Jun 28, 2019
@Eric-Arellano Eric-Arellano deleted the remove-py2-hexdigest branch June 28, 2019 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants