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

Readme comparisons are incorrect for python 3.5. #8

Closed
lanatmwan opened this issue Jul 28, 2015 · 2 comments
Closed

Readme comparisons are incorrect for python 3.5. #8

lanatmwan opened this issue Jul 28, 2015 · 2 comments

Comments

@lanatmwan
Copy link

I think the behavior of the (still in beta) 3.5 version of python has changed. Comparisons of input and output values don't work without decoding to utf.

For example:

s == dec
False
s == dec.decode('utf-8')
True

@ifduyue
Copy link
Owner

ifduyue commented Jul 29, 2015

@lanatmwan You're right. When I wrote the code in readme, I was using Python 2.7

ifduyue added a commit that referenced this issue Jul 30, 2015
@ifduyue
Copy link
Owner

ifduyue commented Oct 7, 2015

Have added Python 3 code samples in README.

@ifduyue ifduyue closed this as completed Oct 7, 2015
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

No branches or pull requests

2 participants