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 martin.panter
Recipients Phaqui, abarry, lucasem, mark.dickinson, martin.panter, serhiy.storchaka, socketpair
Date 2016-07-30.01:21:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469841715.79.0.66368354338.issue27623@psf.upfronthosting.co.za>
In-reply-to
Content
I’m not familiar with the implementation, but it does seem like this should be fixed within _PyLong_AsByteArray().

Also, what about int.from_bytes(b"", ..., signed=True)? There are existing tests for this case, but it seems like it should be an error, rather than returning zero.
History
Date User Action Args
2016-07-30 01:21:55martin.pantersetrecipients: + martin.panter, mark.dickinson, socketpair, serhiy.storchaka, abarry, lucasem, Phaqui
2016-07-30 01:21:55martin.pantersetmessageid: <1469841715.79.0.66368354338.issue27623@psf.upfronthosting.co.za>
2016-07-30 01:21:55martin.panterlinkissue27623 messages
2016-07-30 01:21:55martin.pantercreate