Skip to content

Fix TypeError with Python 2.7 #575

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

Merged
merged 1 commit into from
May 29, 2017
Merged

Fix TypeError with Python 2.7 #575

merged 1 commit into from
May 29, 2017

Conversation

rjollos
Copy link
Contributor

@rjollos rjollos commented May 26, 2017

TypeError: 'encoding' is an invalid keyword argument for this function

TypeError: 'encoding' is an invalid keyword argument
for this function
@rjollos
Copy link
Contributor Author

rjollos commented May 26, 2017

Here's the error I was seeing:

$ python --version
Python 2.7.13
$ python setup.py develop
Traceback (most recent call last):
  File "setup.py", line 12, in <module>
    with open('./README.rst', encoding='utf-8') as f:
TypeError: 'encoding' is an invalid keyword argument for this function

@methane methane merged commit a29347c into PyMySQL:master May 29, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 2, 2021
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.

2 participants