This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author knzsys
Recipients SylvainDe, knzsys, serhiy.storchaka
Date 2017-06-21.06:11:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498025495.41.0.946836480396.issue30712@psf.upfronthosting.co.za>
In-reply-to
Content
just an example, how the pack function behaves with the same format string:

before: 13830108be00cafe....3e05ecbc5138000000043c9be14125359541bf338044000000007452e041.....
after:  13830108be00cafe....3e05ecbc51380000000400003c9be14125359541bf338044000000007452e041....

the pack function inserts 2 0x00 bytes at byte pos 62.

which means the first f item converts to 0x0000AABBCCDD instead to 0xAABBCCDD (float value AABBCCDD is an example).
if the formatstring starts with f it converts to 0xAABBCCDD.

Why this strange behavior?
History
Date User Action Args
2017-06-21 06:11:35knzsyssetrecipients: + knzsys, serhiy.storchaka, SylvainDe
2017-06-21 06:11:35knzsyssetmessageid: <1498025495.41.0.946836480396.issue30712@psf.upfronthosting.co.za>
2017-06-21 06:11:35knzsyslinkissue30712 messages
2017-06-21 06:11:35knzsyscreate