Skip to content

More gracefully handles port coming in as string #820

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 5 commits into from
Nov 21, 2019

Conversation

brettl-sprint
Copy link
Contributor

Currently, the user gets an unhelpful TypeError for a common and simple mistake. This should help point them in the right direction.

Restructures if clause for readability

Co-Authored-By: Inada Naoki <songofacandy@gmail.com>
@methane
Copy link
Member

methane commented Nov 21, 2019

Please move the check in __init__.

@brettl-sprint
Copy link
Contributor Author

Please move the check in __init__.

Moved!

@methane methane merged commit 2330bf7 into PyMySQL:master Nov 21, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 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