Skip to content

Python 2 and 3 compat - #7

Open
alendit wants to merge 2 commits into
Rizziepit:developfrom
alendit:develop
Open

Python 2 and 3 compat#7
alendit wants to merge 2 commits into
Rizziepit:developfrom
alendit:develop

Conversation

@alendit

@alendit alendit commented Jun 27, 2014

Copy link
Copy Markdown

Hi,

just a small change to handle basestring / str issue in Python2/3.

If you aim for a different strategy for 2/3 compat, let me know, I'll change it.

@alendit

alendit commented Jun 27, 2014

Copy link
Copy Markdown
Author

The 2to3 metaclass porting is quite ugly :( Six may be the way to go.

There are still 28 more failed test on 3 than on 2. Should I try to fix them, or is the code not stable enough for it to make sense?

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.

1 participant