Skip to content

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

Merged
methane merged 1 commit into
PyMySQL:mainfrom
cdcadman:handle_negative_inf
Sep 19, 2022
Merged

Raise ProgrammingError on -np.inf in addition to np.inf#1067
methane merged 1 commit into
PyMySQL:mainfrom
cdcadman:handle_negative_inf

Conversation

@cdcadman
Copy link
Copy Markdown
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