Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

return text in __str__ methods for py2/3 #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

return text in __str__ methods for py2/3 #17

wants to merge 1 commit into from

Conversation

boojums
Copy link

@boojums boojums commented Oct 26, 2016

A couple of str methods (decorated with @python_2_unicode_compatible
) used unicode(), breaking in python3. My understanding is that returning text is the right move for python2/3 compatibility.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant