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 alynn
Recipients alynn
Date 2015-03-03.17:03:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425402185.63.0.203193056814.issue23578@psf.upfronthosting.co.za>
In-reply-to
Content
In this example:

  struct.pack('!hhhh', 0x5FFF, 0x6FFF, 0x7FFF, 0x8FFF)

Python errors that the 'h' format requires -32768 <= number <= 32767, but it does not indicate which of the arguments is at fault. In this contrived example it's clearly the fourth one, but in dealing with large amounts of data it would be useful to indicate which argument was invalid.

This would hopefully not be a functional change, just a slightly more helpful error message.
History
Date User Action Args
2015-03-03 17:03:05alynnsetrecipients: + alynn
2015-03-03 17:03:05alynnsetmessageid: <1425402185.63.0.203193056814.issue23578@psf.upfronthosting.co.za>
2015-03-03 17:03:05alynnlinkissue23578 messages
2015-03-03 17:03:05alynncreate