bpo-45034: Fixes how upper limit is formatted for struct.pack("H", ...)#28178
bpo-45034: Fixes how upper limit is formatted for struct.pack("H", ...)#28178mdickinson merged 6 commits intopython:mainfrom
struct.pack("H", ...)#28178Conversation
|
Thanks for the PR. I think we should extend the fix to |
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Will do! Thanks a lot for your help 👍 |
mdickinson
left a comment
There was a problem hiding this comment.
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! 👍 |
serhiy-storchaka
left a comment
There was a problem hiding this comment.
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 <storchaka@gmail.com>
|
Let's have an explicit cast then 🙂 |
https://bugs.python.org/issue45034
It was:
It is now: