New submission from Terje Myklebust <[email protected]>:
>>> 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 <[email protected]>
<https://bugs.python.org/issue45782>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com