Author vstinner
Recipients Arfrever, pkt, python-dev, serhiy.storchaka, vstinner
Date 2014-09-30.13:39:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412084364.73.0.608966187299.issue22518@psf.upfronthosting.co.za>
In-reply-to
Content
> This is correct. This check prevents overflow.

Oh, I didn't understand that "requiredsize = 2*outsize;" is only used for performances, to overallocate the buffer. So I agree that it's fine to not overallocate if it would overflow.
History
Date User Action Args
2014-09-30 13:39:24vstinnersetrecipients: + vstinner, Arfrever, python-dev, serhiy.storchaka, pkt
2014-09-30 13:39:24vstinnersetmessageid: <1412084364.73.0.608966187299.issue22518@psf.upfronthosting.co.za>
2014-09-30 13:39:24vstinnerlinkissue22518 messages
2014-09-30 13:39:24vstinnercreate