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 <>
> New changeset f86fde20e9ce by Benjamin Peterson in branch 'default':
> merge 3.4 (closes #22518)

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?
Date User Action Args
2014-09-30 13:05:37vstinnersetrecipients: + vstinner, Arfrever, python-dev, serhiy.storchaka, pkt
2014-09-30 13:05:37vstinnersetmessageid: <>
2014-09-30 13:05:37vstinnerlinkissue22518 messages
2014-09-30 13:05:37vstinnercreate