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 moese
Recipients
Date 2005-06-28.23:30:21
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
struct.pack("B", -1) generates an OverflowError
exception since the B format corresponds to the
"unsigned char" type which can have values between 0
and 255.

But struct.pack("I", -1) and struct.pack("L", -1) do
not generate these errors, even if struct.pack("I",
-1L) and struct.pack("L", -1L) do (notice the final L).
History
Date User Action Args
2007-08-23 14:32:42adminlinkissue1229380 messages
2007-08-23 14:32:42admincreate