diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2021-09-07 12:18:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 12:18:46 (GMT) |
commit | 8ca6b61e3fd7f1e2876126cee82da8d812c8462f (patch) | |
tree | d3f55761ad4c4cbac8db1814e5d11a0b7c24e7b2 /Misc | |
parent | 97b754d4b46ad9dd63f68906484f805931578c81 (diff) | |
download | cpython-8ca6b61e3fd7f1e2876126cee82da8d812c8462f.zip cpython-8ca6b61e3fd7f1e2876126cee82da8d812c8462f.tar.gz cpython-8ca6b61e3fd7f1e2876126cee82da8d812c8462f.tar.bz2 |
bpo-45034: Fix how upper limit is formatted for `struct.pack("H", ...)` (GH-28178)
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-09-05-20-33-25.bpo-45034.62NLD5.rst | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -1663,6 +1663,7 @@ Ryan Smith-Roberts Rafal Smotrzyk Josh Snider Eric Snow +Nikita Sobolev Dirk Soede Nir Soffer Paul Sokolovsky diff --git a/Misc/NEWS.d/next/Library/2021-09-05-20-33-25.bpo-45034.62NLD5.rst b/Misc/NEWS.d/next/Library/2021-09-05-20-33-25.bpo-45034.62NLD5.rst new file mode 100644 index 0000000..8d94821 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-09-05-20-33-25.bpo-45034.62NLD5.rst @@ -0,0 +1,2 @@ +Changes how error is formatted for ``struct.pack`` with ``'H'`` and ``'h'`` modes and +too large / small numbers. Now it shows the actual numeric limits, while previously it was showing arithmetic expressions. |