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

fix compatibility with python 2.6.x #1216

Merged
merged 1 commit into from
Feb 12, 2018
Merged

Conversation

hexaclock
Copy link
Contributor

str.encode did not take keyword arguments until Python 2.7. This change restores compatibility with Python 2.6.x and maintains compatibility up to Python 3.6.x.

@giampaolo giampaolo merged commit 7618de9 into giampaolo:master Feb 12, 2018
giampaolo added a commit that referenced this pull request Feb 12, 2018
@hexaclock hexaclock deleted the patch-1 branch February 13, 2018 02:40
@giampaolo giampaolo added the bug label Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants