Bug in python34 package struct

Chris Angelico rosuav at gmail.com
Thu Mar 24 05:04:51 EDT 2016


On Thu, Mar 24, 2016 at 7:17 PM, Rudi Lopez Lopez <rlopezsr at gmail.com> wrote:
> from struct import pack
>
> print(hex(126))
> print(pack('>H',126))

Explain the bug?

ChrisA



More information about the Python-list mailing list