8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Describe the bug converters module is missing an import of ProgrammingError. You should be able to fix this by adding from .err import ProgrammingError at the top of the converters module.
from .err import ProgrammingError
To Reproduce Complete steps to reproduce the behavior:
Try to insert a NaN or Inf value into a table.
Expected behavior A clear error message should appear - instead I got a stack dump on the raise Exception line:
https://github.com/PyMySQL/PyMySQL/blob/master/pymysql/converters.py#L58
Environment
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Add missing import
97db9ac
Fixes PyMySQL#878
Add missing import (#879)
3e71dd3
Fixes #878
Successfully merging a pull request may close this issue.