You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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:
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.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: