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 xiang.zhang
Recipients martin.panter, serhiy.storchaka, xiang.zhang
Date 2016-07-23.13:40:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469281235.46.0.49294565836.issue27581@psf.upfronthosting.co.za>
In-reply-to
Content
I'd prefer the size_t method. The others seems to make the logic not clear. I've seen some codes using size_t to do overflow checking, such as https://hg.python.org/cpython/file/tip/Python/bltinmodule.c#l1954. There are more if you use a simple grep. So I think the logic is okay.
History
Date User Action Args
2016-07-23 13:40:35xiang.zhangsetrecipients: + xiang.zhang, martin.panter, serhiy.storchaka
2016-07-23 13:40:35xiang.zhangsetmessageid: <1469281235.46.0.49294565836.issue27581@psf.upfronthosting.co.za>
2016-07-23 13:40:35xiang.zhanglinkissue27581 messages
2016-07-23 13:40:34xiang.zhangcreate