Message271144
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 | |
Date | User | Action | Args | 2016-07-24 12:12:53 | martin.panter | set | recipients: + 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:53 | martin.panter | set | messageid: <1469362373.27.0.758576760716.issue1621@psf.upfronthosting.co.za> | 2016-07-24 12:12:53 | martin.panter | link | issue1621 messages | 2016-07-24 12:12:52 | martin.panter | create | | |