Author martin.panter
Recipients Jeffrey.Walton, alex, alexandre.vassalotti, christian.heimes, deadshort, dmalcolm, donmez, fweimer, gregory.p.smith, jcea, jwilk, loewis, mark.dickinson, martin.panter, matejcik, nnorwitz, pitrou, python-dev, serhiy.storchaka, vstinner, xiang.zhang, ztane
Date 2016-07-24.12:12:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469362373.27.0.758576760716.issue1621@psf.upfronthosting.co.za>
In-reply-to
Content
unicode.patch avoids an overflow in PyUnicode_Join():

>>> size = int(sys.maxsize**0.5) + 1
>>> "".join(("A" * size,) * size)
Objects/unicodeobject.c:9927:12: runtime error: signed integer overflow: 46341 + 2147441940 cannot be represented in type 'int'
OverflowError: join() result is too long for a Python string
History
Date User Action Args
2016-07-24 12:12:53martin.pantersetrecipients: + martin.panter, loewis, nnorwitz, gregory.p.smith, jcea, mark.dickinson, pitrou, vstinner, christian.heimes, alexandre.vassalotti, donmez, matejcik, jwilk, alex, dmalcolm, python-dev, deadshort, serhiy.storchaka, ztane, fweimer, Jeffrey.Walton, xiang.zhang
2016-07-24 12:12:53martin.pantersetmessageid: <1469362373.27.0.758576760716.issue1621@psf.upfronthosting.co.za>
2016-07-24 12:12:53martin.panterlinkissue1621 messages
2016-07-24 12:12:52martin.pantercreate