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

DEP Use encodebytes instead of encodestring. #397

Merged
merged 3 commits into from
Jul 13, 2021
Merged

Conversation

cchen23
Copy link
Contributor

@cchen23 cchen23 commented Jul 12, 2021

Use base64.encodestring if python version < 3.0, otherwise use
base.encodebytes.

base64.encodestring is deprecated (unavailable in python3.9), and
base64.encodebytes is unavailable in python2.
https://docs.python.org/3.1/library/base64.html#base64.encodebytes

cchen23 and others added 3 commits July 12, 2021 15:02
Use base64.encodestring if python version < 3.0, otherwise use
base.encodebytes.

base64.encodestring is deprecated (unavailable in python3.9), and
base64.encodebytes is unavailable in python2.
https://docs.python.org/3.1/library/base64.html#base64.encodebytes
@TomDLT TomDLT merged commit 499965a into main Jul 13, 2021
@TomDLT TomDLT deleted the encodestring_encodebytes branch March 25, 2022 18:47
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.

2 participants