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

__unicode__ isn't used anymore in py3. #535

Merged
merged 1 commit into from
Jul 23, 2019

Conversation

gabrieldemarmiesse
Copy link
Collaborator

Unicode is the default for strings in py3. As such __unicode__ isn't used anymore in the standard library. Py2 unicode is equivalent to python 3 's strings. So it's the best replacement I could find.

Some material:
https://docs.python.org/2.7/reference/datamodel.html
https://docs.python.org/3.7/reference/datamodel.html

@gabrieldemarmiesse gabrieldemarmiesse changed the title Unicode isn't used anymore in py3. __unicode__ isn't used anymore in py3. Jul 23, 2019
@coveralls
Copy link

Coverage Status

Coverage remained the same at 85.551% when pulling c8a2473 on gabrieldemarmiesse:removing_unicode into f8dc15f on IDSIA:master.

@JarnoRFB JarnoRFB merged commit cf52dc2 into IDSIA:master Jul 23, 2019
@gabrieldemarmiesse gabrieldemarmiesse deleted the removing_unicode branch July 23, 2019 12:11
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