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 mark.dickinson
Recipients Phaqui, abarry, lucasem, mark.dickinson, martin.panter, serhiy.storchaka, socketpair
Date 2016-07-28.07:27:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469690829.6.0.24748907959.issue27623@psf.upfronthosting.co.za>
In-reply-to
Content
> The ambiguous signed conversion cases should be an error, the unambiguous unsigned conversion case should be supported

+1. A signed representation *requires* 1 bit for the sign (regardless of whether the number being represented is negative or nonnegative), so it should be an error to encode into zero bytes. But there's nothing wrong with trying to encode 0 in zero bytes when using an unsigned representation.
History
Date User Action Args
2016-07-28 07:27:09mark.dickinsonsetrecipients: + mark.dickinson, socketpair, martin.panter, serhiy.storchaka, abarry, lucasem, Phaqui
2016-07-28 07:27:09mark.dickinsonsetmessageid: <1469690829.6.0.24748907959.issue27623@psf.upfronthosting.co.za>
2016-07-28 07:27:09mark.dickinsonlinkissue27623 messages
2016-07-28 07:27:09mark.dickinsoncreate