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, xiang.zhang
Date 2016-07-31.17:40:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469986809.78.0.371731130003.issue27660@psf.upfronthosting.co.za>
In-reply-to
Content
In list_resize, new_allocated is of type size_t but I think don't have to be now since it finally have to assign back to self->allocated which is of type Py_ssize_t. With Py_ssize_t, we can check some overflows in the first overflow check and don't need the second overflow check.
History
Date User Action Args
2016-07-31 17:40:09xiang.zhangsetrecipients: + xiang.zhang, martin.panter
2016-07-31 17:40:09xiang.zhangsetmessageid: <1469986809.78.0.371731130003.issue27660@psf.upfronthosting.co.za>
2016-07-31 17:40:09xiang.zhanglinkissue27660 messages
2016-07-31 17:40:09xiang.zhangcreate