[issue32470] Unexpected behavior of struct.pack
Change by Luka Malisa : -- components: Library (Lib) nosy: Luka Malisa priority: normal severity: normal status: open title: Unexpected behavior of struct.pack type: behavior versions: Python 2.7, Python 3.5 ___ Python tracker <ht
[issue32470] Unexpected behavior of struct.pack
New submission from Luka Malisa : >>> import struct >>> struct.pack("IB", 1, 1) b'\x01\x00\x00\x00\x01' >>> struct.pack("BI", 1, 1) b'\x01\x00\x00\x00\x01\x00\x00\x00' --