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 Devin Jeanpierre
Recipients Devin Jeanpierre, benjamin.peterson, josh.r, mark.dickinson, pitrou, serhiy.storchaka, vstinner, yselivanov
Date 2017-06-15.14:02:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497535340.87.0.0365651902829.issue17870@psf.upfronthosting.co.za>
In-reply-to
Content
> Devin, I asked you for a strong rationale to add the feature. I don't see such rationale, so this issue will be closed again.

I guess we have different definitions of "strong rationale". Clearer criteria would help.

>> It may be better to make _PyLong_FromByteArray() and _PyLong_AsByteArray() public.
> That makes sense. I suggest to open a new issue for that.

This request was part of the original bug report, so why open a new issue?

> PyLong_FromIntMax_t(myinteger) would be great. Or maybe even better would be PyLong_FromBytes(&myinteger, sizeof(myinteger)) ?
History
Date User Action Args
2017-06-15 14:02:20Devin Jeanpierresetrecipients: + Devin Jeanpierre, mark.dickinson, pitrou, vstinner, benjamin.peterson, serhiy.storchaka, yselivanov, josh.r
2017-06-15 14:02:20Devin Jeanpierresetmessageid: <1497535340.87.0.0365651902829.issue17870@psf.upfronthosting.co.za>
2017-06-15 14:02:20Devin Jeanpierrelinkissue17870 messages
2017-06-15 14:02:20Devin Jeanpierrecreate