Skip to content

Commit ce03f8b

Browse files
committed
fix(tokenizer): fix round_trip huge exponent error
1 parent ebea9f7 commit ce03f8b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pandas/_libs/src/parser/tokenizer.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1798,8 +1798,6 @@ double round_trip(const char *p, char **q, char decimal, char Py_UNUSED(sci),
17981798
*maybe_int = 0;
17991799
if (PyErr_Occurred() != NULL)
18001800
*error = -1;
1801-
else if (r == Py_HUGE_VAL)
1802-
*error = (int)Py_HUGE_VAL;
18031801
PyErr_Clear();
18041802

18051803
PyGILState_Release(gstate);

0 commit comments

Comments
 (0)