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

Added python3 compatibility for base64 encoding #24

Closed
wants to merge 1 commit into from

Conversation

MicroCheapFx
Copy link

@prauscher did something similar, but here you got python3 AND python2 compatibility.

@prauscher
Copy link
Contributor

Looks cool, although i'd suggest to use the codecs-module:

import codecs
codecs.encode(b'abc', 'base64')

works in both python2 and python3 (for python3-support the string must be a bytestream)
(For reference: Fixes #20 too)

@esalazar
Copy link
Contributor

Issue resolved in #21

@esalazar esalazar closed this Aug 26, 2016
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

3 participants