-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
gh-98248: Normalizing the error messages in function struct.pack #98252
Conversation
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Reference to a related PR: #28178 |
Completed. Any comments or suggestions would be greatly appreciated. |
Should I change the definition of macro |
Thank you for your reviews, @kumaraditya303 @mdickinson. I have one more question. Should I remove parameters Reasons not to make this change:
Reasons to make this change:
I will make this change in the next commit 856a9be. If you feel this change is unnecessary, you can revert this commit. |
Thanks for the updates. It might be a few days before I have time to re-review; feel free to ping if you don't hear anything by mid-November.
Sounds fine to me in principle. |
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
I have made the requested changes; please review again |
Thanks for making the requested changes! @mdickinson: please review the changes made to this pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the updates! This LGTM, and works as advertised in manual testing.
I'll run this through the buildbots, and then if all's okay I'll merge.
🤖 New build scheduled with the buildbot fleet by @mdickinson for commit 5b6fd70 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Two buildbot failures, neither of which looks relevant to the changes in this PR (one failure in @yanjs Thank you for the contribution and for your patience! |
thanks |
Provide informative error messages in function
struct.pack
when its integral arguments are not in range.