[New-bugs-announce] [issue45782] Bug in struct.pack
Terje Myklebust
report at bugs.python.org
Thu Nov 11 05:32:18 EST 2021
New submission from Terje Myklebust <terje.myklebust123 at gmail.com>:
>>> struct.pack("i", 119)
b'w\x00\x00\x00'
"w" in a binary value?
>>> struct.pack("I", 116)
b't\x00\x00\x00'
"t" in a binary value?
----------
messages: 406150
nosy: terje.myklebust123
priority: normal
severity: normal
status: open
title: Bug in struct.pack
type: behavior
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45782>
_______________________________________
More information about the New-bugs-announce
mailing list