From: Debian Science Maintainers Date: Wed, 16 Sep 2026 19:30:23 +0000 (+0100) Subject: rownum is 64 bit X-Git-Tag: archive/raspbian/2.3.3+dfsg-5+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1f056bd0767cd9c1b448e34f88aad66a0ef58a56;p=pandas.git rownum is 64 bit Author: Trupti Bug-Debian: https://bugs.debian.org/1148010 Gbp-Pq: Name 1148010_skiprow_type.patch --- diff --git a/pandas/_libs/src/parser/tokenizer.c b/pandas/_libs/src/parser/tokenizer.c index c9f7a796..e7418677 100644 --- a/pandas/_libs/src/parser/tokenizer.c +++ b/pandas/_libs/src/parser/tokenizer.c @@ -647,7 +647,7 @@ static int parser_buffer_bytes(parser_t *self, size_t nbytes, static int skip_this_line(parser_t *self, int64_t rownum) { if (self->skipfunc != NULL) { PyGILState_STATE state = PyGILState_Ensure(); - PyObject *result = PyObject_CallFunction(self->skipfunc, "i", rownum); + PyObject *result = PyObject_CallFunction(self->skipfunc, "L", (long long) rownum); // Error occurred. It will be processed // and caught at the Cython level.