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 vstinner
Recipients Arfrever, pkt, python-dev, serhiy.storchaka, vstinner
Date 2014-09-30.13:05:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412082337.72.0.528666306159.issue22518@psf.upfronthosting.co.za>
In-reply-to
Content
> New changeset f86fde20e9ce by Benjamin Peterson in branch 'default':
> merge 3.4 (closes #22518)
> https://hg.python.org/cpython/rev/f86fde20e9ce

This changeset added ">>>> other". It looks like you commited a conflict.

-        if (requiredsize<2*outsize)
+        if (outsize <= PY_SSIZE_T_MAX/2 && requiredsize < 2*outsize)
             requiredsize = 2*outsize;

I'm not sure that this change is correct. Why not raising an exception on overflow?
History
Date User Action Args
2014-09-30 13:05:37vstinnersetrecipients: + vstinner, Arfrever, python-dev, serhiy.storchaka, pkt
2014-09-30 13:05:37vstinnersetmessageid: <1412082337.72.0.528666306159.issue22518@psf.upfronthosting.co.za>
2014-09-30 13:05:37vstinnerlinkissue22518 messages
2014-09-30 13:05:37vstinnercreate