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 terry.reedy
Recipients serhiy.storchaka, terry.reedy
Date 2012-09-22.01:40:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348278054.38.0.10454442738.issue15988@psf.upfronthosting.co.za>
In-reply-to
Content
The reason for the different messages is clear -- there are different internal tests (I presume in different functions), each of which raises its own error. What do you propose to change?

The only thing I can imagine is that when the bytes converter calls the Python int to c long function, it somehow intercepts the error return and rewrites the message for consistency. Is this your proposal?
History
Date User Action Args
2012-09-22 01:40:54terry.reedysetrecipients: + terry.reedy, serhiy.storchaka
2012-09-22 01:40:54terry.reedysetmessageid: <1348278054.38.0.10454442738.issue15988@psf.upfronthosting.co.za>
2012-09-22 01:40:53terry.reedylinkissue15988 messages
2012-09-22 01:40:53terry.reedycreate