Skip to content

Conversation

@mohsinm-dev
Copy link
Contributor

@mohsinm-dev mohsinm-dev commented Nov 15, 2025

Replace generic overflow messages with specific ones that indicate whether the value exceeds maximum or minimum bounds.

Fixes #141578

@mohsinm-dev mohsinm-dev force-pushed the gh-141578-improve-overflow-messages branch from c700fa6 to dc88dc0 Compare November 15, 2025 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide custom error messages for overflows in PyLong_AsLong/PyLong_AsInt()

3 participants