Skip to content

Conversation

@Alvaro-Kothe
Copy link
Member

This is a follow-up from #62658.

In pandas/_libs/parsers.pyx the integer parser contains arguments called int_max, int_min, uint_max which are always called with INT64_MAX, INT64_MIN and UINT64_MAX, respectively. This is unnecessary, since strtoll and strtoull already performs this verification and set errno = ERANGE in case of overflow.

@WillAyd
Copy link
Member

WillAyd commented Oct 16, 2025

Great work - thanks @Alvaro-Kothe . Will merge on green

@WillAyd WillAyd merged commit 5eaf80b into pandas-dev:main Oct 16, 2025
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants