[issue27547] Integer Overflow Crash On float(array.array())

2016-07-18 Thread Martin Panter
Martin Panter added the comment: Perhaps this is the same as Issue 5614, i.e. the problem lies with OS X rather than Python? -- nosy: +martin.panter ___ Python tracker ___ _

[issue27547] Integer Overflow Crash On float(array.array())

2016-07-17 Thread pablo sacristan
New submission from pablo sacristan: There is an integer overflow because python doesn't check the length as it does with bytearray() and it still goes on, so by doing something like: >>> import array >>> float(array.array("L",b"a"*0xFFF+10**80)) It returns: Python(2179,0