Skip to content

gh-127238: adjust error message for sys.set_int_max_str_digits() #127241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

skirpichev
Copy link
Contributor

@skirpichev skirpichev commented Nov 25, 2024

Now it's correct and closer to Python/initconfig.c

Now it's correct and closer to Python/initconfig.c
@terryjreedy
Copy link
Member

Not hardcoding the magic number as in my suggestion is even better . Not backporting (unless someone else want to) since we do not generally backport message changes unless sufficiently erroneous, and this does not pass the threshhold for me.

@terryjreedy terryjreedy merged commit c595eae into python:main Nov 25, 2024
42 checks passed
@skirpichev skirpichev deleted the fix-set_int_max_str_digits-msg-127238 branch November 25, 2024 05:36
ebonnal pushed a commit to ebonnal/cpython that referenced this pull request Jan 12, 2025
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