-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
bpo-45034: Fixes how upper limit is formatted for struct.pack("H", ...)
#28178
Conversation
Thanks for the PR. I think we should extend the fix to |
Co-authored-by: Mark Dickinson <[email protected]>
Co-authored-by: Mark Dickinson <[email protected]>
Will do! Thanks a lot for your help 👍 |
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.
LGTM; thank you! Do you want to add your name to the list in Misc/ACKS? (It's entirely optional.)
Why not? 😄 Added! Thanks a lot for your help! 👍 |
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.
What about other integer and floating point types?
I think we can leave broader changes for a separate PR, if anyone feels inclined; this PR addresses the immediate issue that @stevendaprano was seeing, which was due to inappropriate uses of |
Co-authored-by: Serhiy Storchaka <[email protected]>
Let's have an explicit cast then 🙂 |
https://bugs.python.org/issue45034
It was:
It is now: