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 compatibility #1

Merged
merged 2 commits into from
Mar 2, 2017
Merged

Conversation

messense
Copy link
Member

@messense messense commented Mar 1, 2017

Let's try it.

earl#13

earl#60

Under python3, we are responsible for decoding and encoding. The
implementation does not change the behaviour for python 2, and by
default uses python2-esque behaviour (using sys.getdefaultencoding())
under python 3, but lets the user override the encoding or even set it
to None to get bytes objects back. It also allows the user to pass bytes
objects to put, striking the best balance between backwards
compatibility for binary data in tubes (which can never be achieved
100%) and working nicely with text data.

Tested with python 2.4, 2.7 and 3.4
@messense messense merged commit b752c51 into bosondata:master Mar 2, 2017
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.

5 participants