8000 Raise ProgrammingError on -np.inf in addition to np.inf by cdcadman · Pull Request #1067 · PyMySQL/PyMySQL · GitHub
[go: up one dir, main page]

Skip to content

Raise ProgrammingError on -np.inf in addition to np.inf #1067

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
Sep 19, 2022
Merged

Raise ProgrammingError on -np.inf in addition to np.inf #1067

merged 1 commit into from
Sep 19, 2022

Conversation

cdcadman
Copy link
Contributor

This addresses an issue that was posted in the pandas repo (pandas-dev/pandas#34431). The issue was resolved in pandas by catching different errors that are raised within pymysql and raising a consistent error in pandas, but a better solution is to make pymysql handle numpy.inf and -numpy.inf consistently.

@methane methane merged commit e77b218 into PyMySQL:main Sep 19, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 2023
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
0